summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
authorbgtushar2017-11-10 16:52:28 +0530
committerGitHub2017-11-10 16:52:28 +0530
commitf66d58166a67d6bc89b2a674119410ddaee53d46 (patch)
treed249583d63ffa62361673408378d0ebe28027d93 /macros
parent577ee768ed44495c84bb236163f684e07a1cad30 (diff)
parent35a55338103e265953ea76f2ddb65ad71347c22e (diff)
downloadFOSSEE-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.binbin0 -> 1368 bytes
-rw-r--r--macros/hanning.sci15
-rw-r--r--macros/libbin5528 -> 6058 bytes
-rw-r--r--macros/names1
4 files changed, 16 insertions, 0 deletions
diff --git a/macros/hanning.bin b/macros/hanning.bin
new file mode 100644
index 0000000..fc3aa94
--- /dev/null
+++ b/macros/hanning.bin
Binary files differ
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
diff --git a/macros/lib b/macros/lib
index dc954ef..e8e47ac 100644
--- a/macros/lib
+++ b/macros/lib
Binary files differ
diff --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