<< lar2rc | FOSSEE_Signal_Processing_Toolbox | levdown >>

FOSSEE_Signal_Processing_Toolbox >> FOSSEE_Signal_Processing_Toolbox > latc2tf

# latc2tf

Convert lattice filter parameters to transfer function coefficients

### 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 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

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

### See also

- latcfilt
- tf2latc

### Bibliography

[1] J.G. Proakis, D.G. Manolakis, Digital Signal Processing,

3rd ed., Prentice Hall, N.J., 1996, Chapter 7.

[2] S. K. Mitra, Digital Signal Processing, A Computer

Based Approach, McGraw-Hill, N.Y., 1998, Chapter 6.

### Authors

- Ayush Baid

Report an issue
<< lar2rc | FOSSEE_Signal_Processing_Toolbox | levdown >>