diff options
author | bgtushar | 2017-11-10 16:52:28 +0530 |
---|---|---|
committer | GitHub | 2017-11-10 16:52:28 +0530 |
commit | f66d58166a67d6bc89b2a674119410ddaee53d46 (patch) | |
tree | d249583d63ffa62361673408378d0ebe28027d93 /macros | |
parent | 577ee768ed44495c84bb236163f684e07a1cad30 (diff) | |
parent | 35a55338103e265953ea76f2ddb65ad71347c22e (diff) | |
download | FOSSEE-Signal-Processing-Toolbox-f66d58166a67d6bc89b2a674119410ddaee53d46.tar.gz FOSSEE-Signal-Processing-Toolbox-f66d58166a67d6bc89b2a674119410ddaee53d46.tar.bz2 FOSSEE-Signal-Processing-Toolbox-f66d58166a67d6bc89b2a674119410ddaee53d46.zip |
Merge pull request #3 from abhinavdronamraju/master
Hanning Added
Diffstat (limited to 'macros')
-rw-r--r-- | macros/hanning.bin | bin | 0 -> 1368 bytes | |||
-rw-r--r-- | macros/hanning.sci | 15 | ||||
-rw-r--r-- | macros/lib | bin | 5528 -> 6058 bytes | |||
-rw-r--r-- | macros/names | 1 |
4 files changed, 16 insertions, 0 deletions
diff --git a/macros/hanning.bin b/macros/hanning.bin Binary files differnew file mode 100644 index 0000000..fc3aa94 --- /dev/null +++ b/macros/hanning.bin diff --git a/macros/hanning.sci b/macros/hanning.sci new file mode 100644 index 0000000..85860c8 --- /dev/null +++ b/macros/hanning.sci @@ -0,0 +1,15 @@ +function y = hanning(m, varargin) + +funcprot(0); +rhs= argn(2); +if(rhs <1 | rhs>2) +error("Wrong number of Input parameters"); +end + +select(rhs) + case 1 then + y= callOctave("hanning", m); + case 2 then + y= callOctave("hanning", m , varargin(1)); +end +endfunction Binary files differdiff --git a/macros/names b/macros/names index b2ce8bd..ab09d57 100644 --- a/macros/names +++ b/macros/names @@ -79,6 +79,7 @@ gmonopuls goertzel grpdelay hann +hanning helperHarmonicDistortionAmplifier hilbert1 hurst |