<< lar2rc FOSSEE Signal Processing Toolbox latcfilt >>

FOSSEE Signal Processing Toolbox >> FOSSEE Signal Processing Toolbox > latc2tf

latc2tf

Convert lattice filter parameters to transfer function coefficients

Calling Sequence

Description

[num,den] = latc2tf(k,v) Finds the transfer function of the IIR filter from the lattice coefficients k and ladder coefficients v. [num,den] = latc2tf(k,'iiroption') Finds the transfer function of the allpass or allpole (specified by the iiroption flag) IIR filter. num = latc2tf(k,'firoption') Finds the transfer function of the FIR filter from the lattice coefficients k. The firoption flag specifies the type of the FIR filter (can be 'min, 'max', or 'FIR')

Parameters: k - double - vector Lattice coefficients Lattice coefficients for FIR/IIR filter. Can be real or complex. v - double - vector Ladder coefficients Ladder coefficients for IIR filters. Can be real or complex. iiroption - string flag - 'allpole', or 'allpass' Specification of the type if IIR filter firoption - string flag - 'min', 'max', or 'FIR' (default) Speficication of the type of FIR filter

Examples

1) FIR filter
k1 = [1/2 1/2 1/4];
[num1,den1] = latc2tf(k1);

See also

Authors


Report an issue
<< lar2rc FOSSEE Signal Processing Toolbox latcfilt >>