Owning Class: filter implementation
Requires: MathScript RT Module
[f, g] = filter_lattice(k, x)
[f, g] = filter_lattice(k, 1, x)
[f, g] = filter_lattice(k, v, x)
[f, g, final] = filter_lattice(k, x, 'ic', initial)
[f, g, final] = filter_lattice(k, 1, x, 'ic', initial)
[f, g, final] = filter_lattice(k, v, x, 'ic', initial)
Legacy Name: latcfilt
Uses a lattice filter to filter a signal. filter_lattice works column-wise for matrices.
| Name | Description |
|---|---|
| k | Specifies the lattice reflection coefficients. k is a real vector or matrix. |
| v | Specifies the lattice ladder coefficients. v is a real vector or the integer 1. |
| x | Specifies the signal to filter. x is a real vector or matrix. |
| 'ic' | Tells LabVIEW that the next listed input is initial. |
| initial | Specifies the initial states. initial is a real vector or matrix. |
| Name | Description |
|---|---|
| f | Returns the minimum-phase filtered signal. If v is 1, f returns the all-pole filtered signal. f is a real vector or matrix. |
| g | Returns the maximum-phase filtered signal. If v is 1, g returns the all-pass filtered signal. g is a real vector or matrix. |
| final | Returns the final states. final is a real vector or matrix. |
K = [0.1, 0.2, 0.8];
X = 0:0.01:1;
[F, G] = filter_lattice(K, X)