latc2tf

Convert lattice filter parameters to transfer function form

Syntax

[num,den] = latc2tf(k,v)
[num,den] = latc2tf(k,'iiroption')
num = latc2tf(k,'firoption')

Description

[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,'iiroption') produces an IIR filter transfer function according to the value of '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,'firoption') produces an FIR filter according to the value of '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').

See Also

|

Introduced before R2006a