| Signal Processing Toolbox | Search  Help Desk |
| latcfilt | See Also |
Lattice and lattice-ladder filter implementation.
Syntax
[f,g] = latcfilt(k,x) [f,g] = latcfilt(k,v,x) [f,g] = latcfilt(k,1,x) [f,g,zf] = latcfilt(...,'ic',zi)
Description
[f,g] = latcfilt(k,x)
filters x with the FIR lattice coefficients in vector k. f is the forward lattice filter result and g is the backward filter result.
If k and x are vectors, the result is a (signal) vector.
Matrix arguments are permitted under the following rules:
x is a matrix and k is a vector, each column of x is processed through the lattice filter specified by k.
x is a vector and k is a matrix, each column of k is used to filter x, and a signal matrix is returned.
x and k are both matrices with the same number of columns, then the i-th column of k is used to filter the i-th column of x. A signal matrix is returned.
[f,g] = latcfilt(k,v,x)
filters x with the IIR lattice coefficients k and ladder coefficients v. k and v must be vectors, while x may be a signal matrix.
[f,g] = latcfilt(k,1,x)
filters x with the IIR all-pole lattice specified by k. k and x may be vectors or matrices according to the rules given for the FIR lattice.
[f,g,zf] = latcfilt(...,'ic',zi)
accepts a length-k vector zi specifying the initial condition of the lattice states. Output zf is a length-k vector specifying the final condition of the lattice states.
See Also
filter |
Filter data with a recursive (IIR) or nonrecursive (FIR) filter. |
latc2tf |
Lattice filter to transfer function conversion. |
tf2latc |
Conversion of transfer function to lattice filter. |