summaryrefslogtreecommitdiff
path: root/macros/ifftn.sci
diff options
context:
space:
mode:
authorAbhinav Dronamraju2017-11-30 12:11:52 +0530
committerAbhinav Dronamraju2017-11-30 12:11:52 +0530
commit61f5e86e353f1332928e716cf9c730b4c5ec357d (patch)
treebfb2e64ccc143e3affaa88fea05c72fa1207ab10 /macros/ifftn.sci
parent78b93a6cdf04aa8c861d4580eec8e4839bb8a255 (diff)
parent8e9af4404bedd0fc7ff9c34bf8b794d6b8602b36 (diff)
downloadFOSSEE-Signal-Processing-Toolbox-61f5e86e353f1332928e716cf9c730b4c5ec357d.tar.gz
FOSSEE-Signal-Processing-Toolbox-61f5e86e353f1332928e716cf9c730b4c5ec357d.tar.bz2
FOSSEE-Signal-Processing-Toolbox-61f5e86e353f1332928e716cf9c730b4c5ec357d.zip
Merged with master upstream
Diffstat (limited to 'macros/ifftn.sci')
-rw-r--r--macros/ifftn.sci14
1 files changed, 13 insertions, 1 deletions
diff --git a/macros/ifftn.sci b/macros/ifftn.sci
index 269a77d..3d26c04 100644
--- a/macros/ifftn.sci
+++ b/macros/ifftn.sci
@@ -1,5 +1,17 @@
function y = ifftn(A, varargin)
-
+//Compute the inverse N-dimensional discrete Fourier transform of A using a Fast Fourier Transform (FFT) algorithm.
+//Calling Sequence
+//Y = ifftn(A)
+//Y = ifftn(A, size)
+//Parameters
+//A: Matrix
+//Description
+//Compute the inverse N-dimensional discrete Fourier transform of A using a Fast Fourier Transform (FFT) algorithm. The optional vector argument SIZE may be used specify the dimensions of the array to be used. If an element of SIZE is smaller than the corresponding dimension of A, then the dimension of A is truncated prior to performing the inverse FFT. Otherwise, if an element of SIZE is larger than the corresponding dimension then A is resized and padded with zeros.
+//Examples
+//ifftn([2,3,4])
+//ans =
+// 3. - 0.5 - 0.2886751i - 0.5 + 0.2886751i
+funcprot(0);
funcprot(0);
rhs = argn(2)
if(rhs<1 | rhs>2)