summaryrefslogtreecommitdiff
path: root/macros/remez1.sci
diff options
context:
space:
mode:
authorbgtushar2017-11-27 11:14:24 +0530
committerGitHub2017-11-27 11:14:24 +0530
commit25a88252ee49c73acb18232f6e916d7742a1af80 (patch)
tree9161ea9a7940e36a21f0855a7805e24f7b002d8a /macros/remez1.sci
parente9ab4b0b52db51be30f4ac3d07673c20b48da13c (diff)
parentff8b1285a880cc28c68d8b224b20b8ccff8e5422 (diff)
downloadFOSSEE-Signal-Processing-Toolbox-25a88252ee49c73acb18232f6e916d7742a1af80.tar.gz
FOSSEE-Signal-Processing-Toolbox-25a88252ee49c73acb18232f6e916d7742a1af80.tar.bz2
FOSSEE-Signal-Processing-Toolbox-25a88252ee49c73acb18232f6e916d7742a1af80.zip
Merge pull request #5 from abhinavdronamraju/master
Help files created and Updated Readme.md
Diffstat (limited to 'macros/remez1.sci')
-rw-r--r--macros/remez1.sci15
1 files changed, 15 insertions, 0 deletions
diff --git a/macros/remez1.sci b/macros/remez1.sci
index aabb25e..0400d90 100644
--- a/macros/remez1.sci
+++ b/macros/remez1.sci
@@ -1,4 +1,19 @@
function b = remez1(n,f,a, varargin)
+//Parks-McClellan optimal FIR filter design
+//Calling Sequence
+//b = remez1 (n, f, a)
+//b = remez1 (n, f, a, w)
+//b = remez1 (n, f, a, w, ftype)
+//b = remez1 (n, f, a, w, ftype, griddensity)
+//Parameters
+//n: gives the number of taps in the returned filter
+//f:gives frequency at the band edges [b1 e1 b2 e2 b3 e3 …]
+//a:gives amplitude at the band edges [a(b1) a(e1) a(b2) a(e2) …]
+//w:gives weighting applied to each band
+//ftype:is "bandpass", "hilbert" or "differentiator"
+//griddensity:determines how accurately the filter will be constructed. The minimum value is 16, but higher numbers are slower to compute.
+//Description
+//Frequency is in the range (0, 1), with 1 being the Nyquist frequency.
funcprot(0);
rhs= argn(2);