Signal Processing Toolbox |
Convert lattice filter parameters to transfer function form
Syntax
[num,den]=
latc2tf(k,v) [num,den]=
latc2tf(k,'iiroption
') num=
latc2tf(k,'firoption
') num = latc2tf(k)
Description
[num,den]
finds the transfer function numerator =
latc2tf(k,v)
num
and denominator den
from the IIR lattice coefficients k
and ladder coefficients v
.
[num,den]
produces an IIR filter transfer function according to the value of the string =
latc2tf(k,'iiroption
')
'
iiroption
'
:
'allpole'
: Produces an all-pole filter transfer function from the associated all-pole IIR lattice filter coefficients k
.
'allpass'
: Produces an allpass filter transfer function from the associated allpass IIR lattice filter coefficients k
.
num
produces an FIR filter according to the value of the string =
latc2tf(k,'firoption
')
'
firoption
'
:
'min'
: Produces a minimum-phase FIR filter numerator from the associated minimum-phase FIR lattice filter coefficients k
.
'max'
: Produces a maximum-phase FIR filter numerator from the associated maximum-phase FIR lattice filter coefficients k
.
'FIR'
: Produces a general FIR filter numerator from the lattice filter coefficients k
(default, if you leave off the string altogether).
See Also
lar2rc | latcfilt |
© 1994-2005 The MathWorks, Inc.