summaryrefslogtreecommitdiff
path: root/macros/ifwht.sci
diff options
context:
space:
mode:
authorBrijeshcr2017-11-10 15:10:05 +0530
committerBrijeshcr2017-11-10 15:10:05 +0530
commitcc5c7ee42c6cb2ab94dd0e0f6985778657ab47f5 (patch)
tree8ab91353da76f22bc6e54a2b133bbbfd4aeb6aff /macros/ifwht.sci
parent6e1e4362783f68a8e8be1d199337c1ca831a2994 (diff)
parent9f6962b19c4a5fa76f7525a72faabb1b754712ad (diff)
downloadFOSSEE-Signal-Processing-Toolbox-cc5c7ee42c6cb2ab94dd0e0f6985778657ab47f5.tar.gz
FOSSEE-Signal-Processing-Toolbox-cc5c7ee42c6cb2ab94dd0e0f6985778657ab47f5.tar.bz2
FOSSEE-Signal-Processing-Toolbox-cc5c7ee42c6cb2ab94dd0e0f6985778657ab47f5.zip
merged upstream
Diffstat (limited to 'macros/ifwht.sci')
-rw-r--r--macros/ifwht.sci20
1 files changed, 20 insertions, 0 deletions
diff --git a/macros/ifwht.sci b/macros/ifwht.sci
new file mode 100644
index 0000000..163c032
--- /dev/null
+++ b/macros/ifwht.sci
@@ -0,0 +1,20 @@
+function y= ifwht(x, varargin)
+
+funcprot(0);
+rhs= argn(2);
+
+if(rhs<1 | rhs>3)
+error("Wrong number of input arguments")
+end
+
+select(rhs)
+ case 1 then
+ y= callOctave("ifwht", x);
+ case 2 then
+ y= callOctave("ifwht", x, varargin(1));
+ case 3 then
+ y= callOctave("ifwht", x, varargin(1), varargin(2));
+end
+endfunction
+
+