summaryrefslogtreecommitdiff
path: root/macros/ifht.sci
diff options
context:
space:
mode:
authorAbhinav Dronamraju2017-11-09 15:24:34 +0530
committerAbhinav Dronamraju2017-11-09 15:24:34 +0530
commit2c5902040b960ccca8d0b51c58c00fc114a09518 (patch)
treeee096d4b373fbf6d5e8f8cc3e2b3ec777dd5e865 /macros/ifht.sci
parent487df8d5650f198857d5dd5635f9493fa8c06e8f (diff)
downloadFOSSEE-Signal-Processing-Toolbox-2c5902040b960ccca8d0b51c58c00fc114a09518.tar.gz
FOSSEE-Signal-Processing-Toolbox-2c5902040b960ccca8d0b51c58c00fc114a09518.tar.bz2
FOSSEE-Signal-Processing-Toolbox-2c5902040b960ccca8d0b51c58c00fc114a09518.zip
czt, dst1, fwht, hilbert1, ifht, ifwht, invfreq, rceps
Diffstat (limited to 'macros/ifht.sci')
-rw-r--r--macros/ifht.sci16
1 files changed, 16 insertions, 0 deletions
diff --git a/macros/ifht.sci b/macros/ifht.sci
new file mode 100644
index 0000000..aacbd7a
--- /dev/null
+++ b/macros/ifht.sci
@@ -0,0 +1,16 @@
+function m = ifht(d, varargin)
+funcprot(0);
+rhs= argn(2);
+if(rhs<1 | rhs>3)
+error("Wrong number of Inputs")
+end
+
+select(rhs)
+ case 1 then
+ m= callOctave("ifht", d);
+ case 2 then
+ m= callOctave("ifht", d , varargin(1));
+ case 3 then
+ m= callOctave("ifht", d , varargin(1),varargin(2) );
+end
+endfunction