~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to man/signal/group.man

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH group 1 "April 1993" "Scilab Group" "Scilab Function"
 
2
.so ../sci.an 
 
3
.SH NAME
 
4
group - group delay for digital filter
 
5
.SH CALLING SEQUENCE
 
6
.nf
 
7
[tg,fr]=group(npts,a1i,a2i,b1i,b2i)
 
8
.fi
 
9
.SH PARAMETERS
 
10
.TP 10
 
11
npts
 
12
: integer : number of points desired in calculation of group delay
 
13
.TP
 
14
a1i
 
15
: in coefficient, polynomial, rational polynomial, or
 
16
cascade polynomial form this variable is the transfer
 
17
function of the filter. In coefficient polynomial
 
18
form this is a vector of coefficients (see below).
 
19
.TP
 
20
a2i
 
21
: in coeff poly form this is a vector of coeffs
 
22
.TP
 
23
b1i
 
24
: in coeff poly form this is a vector of coeffs
 
25
.TP
 
26
b2i
 
27
: in coeff poly form this is a vector of coeffs
 
28
.TP
 
29
tg
 
30
: values of group delay evaluated on the grid fr
 
31
.TP
 
32
fr
 
33
: grid of frequency values where group delay is evaluated
 
34
.SH DESCRIPTION
 
35
Calculate the group delay of a digital filter
 
36
with transfer function h(z).
 
37
.LP
 
38
The filter specification can be in coefficient form,
 
39
polynomial form, rational polynomial form, cascade
 
40
polynomial form, or in coefficient polynomial form.
 
41
.LP
 
42
In the coefficient polynomial form the transfer function is
 
43
formulated by the following expression
 
44
.LP
 
45
 \fVh(z)=prod(a1i+a2i*z+z**2)/prod(b1i+b2i*z+z^2)\fR
 
46
.SH EXAMPLE
 
47
.nf
 
48
z=poly(0,'z');
 
49
h=z/(z-.5);
 
50
[tg,fr]=group(100,h);
 
51
plot(fr,tg)
 
52
.fi
 
53
.SH AUTHOR
 
54
C. B.