diff options
author | Abhinav Dronamraju | 2017-11-27 15:25:37 +0530 |
---|---|---|
committer | Abhinav Dronamraju | 2017-11-27 15:25:37 +0530 |
commit | b7969c62478edc84055e71df9fed140402406396 (patch) | |
tree | 048b7c76423fe27dee2e31a52bae93c95883614e /macros/ifftn.sci | |
parent | 2bb28947f9736c1c65dd338bf1bc8fcc2570b22d (diff) | |
parent | d972a68bc5b3c4c059b70e4f8cd64a64538c2be8 (diff) | |
download | FOSSEE-Signal-Processing-Toolbox-b7969c62478edc84055e71df9fed140402406396.tar.gz FOSSEE-Signal-Processing-Toolbox-b7969c62478edc84055e71df9fed140402406396.tar.bz2 FOSSEE-Signal-Processing-Toolbox-b7969c62478edc84055e71df9fed140402406396.zip |
Merge with upstream
Diffstat (limited to 'macros/ifftn.sci')
-rw-r--r-- | macros/ifftn.sci | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/macros/ifftn.sci b/macros/ifftn.sci new file mode 100644 index 0000000..269a77d --- /dev/null +++ b/macros/ifftn.sci @@ -0,0 +1,15 @@ +function y = ifftn(A, varargin) + +funcprot(0); +rhs = argn(2) +if(rhs<1 | rhs>2) +error("Wrong number of input arguments."); +end + + select(rhs) + case 1 then + y = callOctave("ifftn",A); + case 2 then + y = callOctave("ifftn",A, varargin(1)); + end +endfunction |