summaryrefslogtreecommitdiff
path: root/help/en_US/scilab_en_US_help/fftshift1.html
diff options
context:
space:
mode:
Diffstat (limited to 'help/en_US/scilab_en_US_help/fftshift1.html')
-rw-r--r--help/en_US/scilab_en_US_help/fftshift1.html79
1 files changed, 79 insertions, 0 deletions
diff --git a/help/en_US/scilab_en_US_help/fftshift1.html b/help/en_US/scilab_en_US_help/fftshift1.html
new file mode 100644
index 0000000..bbd9360
--- /dev/null
+++ b/help/en_US/scilab_en_US_help/fftshift1.html
@@ -0,0 +1,79 @@
+<html><head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>fftshift1</title>
+ <style type="text/css" media="all">
+ @import url("scilab_code.css");
+ @import url("xml_code.css");
+ @import url("c_code.css");
+ @import url("style.css");
+ </style>
+ </head>
+ <body>
+ <div class="manualnavbar">
+ <table width="100%"><tr>
+ <td width="30%">
+ <span class="previous"><a href="fftn.html">&lt;&lt; fftn</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_cc2bc01c47967d47fcf3507a91d572ba.html">FOSSEE Signal Processing Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="fftw1.html">fftw1 &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+
+
+
+ <span class="path"><a href="index.html">FOSSEE Signal Processing Toolbox</a> &gt;&gt; <a href="section_cc2bc01c47967d47fcf3507a91d572ba.html">FOSSEE Signal Processing Toolbox</a> &gt; fftshift1</span>
+
+ <br /><br />
+ <div class="refnamediv"><h1 class="refname">fftshift1</h1>
+ <p class="refpurpose">Perform a shift of the vector X, for use with the &#0039;fft1&#0039; and &#0039;ifft1&#0039; functions, in order the move the frequency 0 to the center of the vector or matrix.</p></div>
+
+
+<div class="refsynopsisdiv"><h3 class="title">Calling Sequence</h3>
+ <div class="synopsis"><pre><span class="functionid">fftshift1</span><span class="default"> (</span><span class="default">X</span><span class="default">)</span>
+<span class="functionid">fftshift1</span><span class="default"> (</span><span class="default">X</span><span class="default">, </span><span class="default">DIM</span><span class="default">)</span></pre></div></div>
+
+<div class="refsection"><h3 class="title">Parameters</h3>
+ <dl><dt><span class="term">X:</span>
+ <dd><p class="para">It is a vector of N elements corresponding to time samples</p></dd></dt>
+ <dt><span class="term">DIM:</span>
+ <dd><p class="para">The optional DIM argument can be used to limit the dimension along which the permutation occurs</p></dd></dt></dl></div>
+
+<div class="refsection"><h3 class="title">Description</h3>
+ <p class="para">This is an Octave function.
+Perform a shift of the vector X, for use with the &#0039;fft1&#0039; and &#0039;ifft1&#0039; functions, in order the move the frequency 0 to the center of the vector or matrix.</p>
+ <p class="para">If X is a vector of N elements corresponding to N time samples spaced by dt, then &#0039;fftshift1 (fft1 (X))&#0039; corresponds to frequencies</p>
+ <p class="para">f = [ -(ceil((N-1)/2):-1:1)*df 0 (1:floor((N-1)/2))*df ]</p>
+ <p class="para">where df = 1 / dt.</p>
+ <p class="para">If X is a matrix, the same holds for rows and columns. If X is an array, then the same holds along each dimension.</p>
+ <p class="para">The optional DIM argument can be used to limit the dimension along</p></div>
+ <br />
+
+ <div class="manualnavbar">
+ <table width="100%">
+ <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr>
+<tr>
+ <td width="30%">
+ <span class="previous"><a href="fftn.html">&lt;&lt; fftn</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_cc2bc01c47967d47fcf3507a91d572ba.html">FOSSEE Signal Processing Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="fftw1.html">fftw1 &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+ </body>
+</html>