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="group"> group delay for digital filter</SHORT_DESCRIPTION>
10
<CALLING_SEQUENCE_ITEM>[tg,fr]=group(npts,a1i,a2i,b1i,b2i) </CALLING_SEQUENCE_ITEM>
15
<PARAM_NAME>npts</PARAM_NAME>
17
<SP>: integer : number of points desired in calculation of group delay</SP>
21
<PARAM_NAME>a1i</PARAM_NAME>
23
<SP>: in coefficient, polynomial, rational polynomial, or cascade polynomial form this variable is the transfer function of the filter. In coefficient polynomial form this is a vector of coefficients (see below).</SP>
27
<PARAM_NAME>a2i</PARAM_NAME>
29
<SP>: in coeff poly form this is a vector of coeffs</SP>
33
<PARAM_NAME>b1i</PARAM_NAME>
35
<SP>: in coeff poly form this is a vector of coeffs</SP>
39
<PARAM_NAME>b2i</PARAM_NAME>
41
<SP>: in coeff poly form this is a vector of coeffs</SP>
45
<PARAM_NAME>tg</PARAM_NAME>
47
<SP>: values of group delay evaluated on the grid fr</SP>
51
<PARAM_NAME>fr</PARAM_NAME>
53
<SP>: grid of frequency values where group delay is evaluated</SP>
60
Calculate the group delay of a digital filter
61
with transfer function h(z).</P>
63
The filter specification can be in coefficient form,
64
polynomial form, rational polynomial form, cascade
65
polynomial form, or in coefficient polynomial form.</P>
67
In the coefficient polynomial form the transfer function is
68
formulated by the following expression</P>
70
<VERB>h(z)=prod(a1i+a2i*z+z**2)/prod(b1i+b2i*z+z^2)</VERB>
81
<AUTHOR>C. B. </AUTHOR>