Convert lattice filter parameters to transfer function form
[num,den] = latc2tf(k,v)
[num,den] = latc2tf(k,'iiroption
')
num = latc2tf(k,'firoption'
)
[num,den] = latc2tf(k,v)
finds the transfer function
numerator num
and denominator den
from
the IIR lattice coefficients k
and ladder coefficients v
.
[num,den] = latc2tf(k,'
produces
an IIR filter transfer function according to the value of 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 = latc2tf(k,
produces
an FIR filter according to the value of '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
(this
is equivalent to not specifying '
iiroption
'
or '
firoption
'
).