diff options
author | Abhinav Dronamraju | 2017-11-09 15:24:34 +0530 |
---|---|---|
committer | Abhinav Dronamraju | 2017-11-09 15:24:34 +0530 |
commit | 2c5902040b960ccca8d0b51c58c00fc114a09518 (patch) | |
tree | ee096d4b373fbf6d5e8f8cc3e2b3ec777dd5e865 /macros/dst1.sci | |
parent | 487df8d5650f198857d5dd5635f9493fa8c06e8f (diff) | |
download | FOSSEE-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/dst1.sci')
-rw-r--r-- | macros/dst1.sci | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/macros/dst1.sci b/macros/dst1.sci new file mode 100644 index 0000000..3b3b4b6 --- /dev/null +++ b/macros/dst1.sci @@ -0,0 +1,19 @@ +function y = dst1(x, varargin) + +funcprot(0); + +lhs= argn(1); +rhs= argn(2); + +if(rhs>2) +error("Wrong number of input arguments"); +end + +select(rhs) + case 1 then + y = callOctave("dst", x); + case 2 then + y = callOctave("dst", x, varargin(1)); +end +endfunction + |