1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
4
<LANGUAGE>eng</LANGUAGE>
6
<TYPE>Scilab Function</TYPE>
7
<DATE>April 1993</DATE>
8
<SHORT_DESCRIPTION name="frmag"> magnitude of FIR and IIR filters</SHORT_DESCRIPTION>
10
<CALLING_SEQUENCE_ITEM>[xm,fr]=frmag(num[,den],npts) </CALLING_SEQUENCE_ITEM>
15
<PARAM_NAME>npts</PARAM_NAME>
17
<SP>: integer (number of points in frequency response)</SP>
21
<PARAM_NAME>xm</PARAM_NAME>
23
<SP>: mvector of magnitude of frequency response at the points <VERB>fr</VERB></SP>
27
<PARAM_NAME>fr</PARAM_NAME>
29
<SP>: points in the frequency domain where magnitude is evaluated</SP>
33
<PARAM_NAME>num</PARAM_NAME>
35
<SP>: if <VERB>den</VERB> is omitted vector coefficients/polynomial/rational polynomial of filter</SP>
39
<PARAM_NAME>num</PARAM_NAME>
41
<SP>: if <VERB>den</VERB> is given vector coefficients/polynomial of filter numerator</SP>
45
<PARAM_NAME>den</PARAM_NAME>
47
<SP>: vector coefficients/polynomial of filter denominator</SP>
54
calculates the magnitude of the frequency responses of
55
FIR and IIR filters. The filter description can be
56
one or two vectors of coefficients, one or two polynomials,
57
or a rational polynomial.</P>
59
<AUTHOR>C. B. </AUTHOR>