summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
authorAbhinav Dronamraju2017-11-10 16:47:58 +0530
committerAbhinav Dronamraju2017-11-10 16:47:58 +0530
commit4bee11a7fe3cf8ead2e57e5d269d581d51bf72e6 (patch)
tree3676ea4dbf0e5d8300becf98dc4fc80496154394 /macros
parent47535ab08afeb48fbb00f03e68d6ff973cf62cbd (diff)
downloadFOSSEE-Signal-Processing-Toolbox-4bee11a7fe3cf8ead2e57e5d269d581d51bf72e6.tar.gz
FOSSEE-Signal-Processing-Toolbox-4bee11a7fe3cf8ead2e57e5d269d581d51bf72e6.tar.bz2
FOSSEE-Signal-Processing-Toolbox-4bee11a7fe3cf8ead2e57e5d269d581d51bf72e6.zip
Hanning added
Diffstat (limited to 'macros')
-rw-r--r--macros/hanning.binbin0 -> 1368 bytes
-rw-r--r--macros/hanning.sci15
-rw-r--r--macros/libbin5688 -> 5712 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 483a331..0d1f5d9 100644
--- a/macros/lib
+++ b/macros/lib
Binary files differ
diff --git a/macros/names b/macros/names
index 79a4781..a546c1b 100644
--- a/macros/names
+++ b/macros/names
@@ -69,6 +69,7 @@ gmonopuls
goertzel
grpdelay
hann
+hanning
helperHarmonicDistortionAmplifier
hilbert1
hurst