Owning Class: linear systems
Requires: MathScript RT Module
[b, a] = lattice_to_tf(k)
[b, a] = lattice_to_tf(k, option)
[b, a] = lattice_to_tf(k, v)
Legacy Name: latc2tf
Converts a lattice filter to a transfer function.
| Name | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| k | Specifies the lattice reflection coefficients. k is a real vector. | ||||||||||
| v | Specifies the lattice ladder coefficients. v is a real vector. | ||||||||||
| option | Specifies the type of filter. option is a string that accepts the following values:
|
| Name | Description |
|---|---|
| b | Returns the forward filter coefficients. |
| a | Returns the backward filter coefficients. |
k = [0.1, 0.2, 0.5];
v = [0.9, 0.3, 0.4, 0.1];
[a, b] = lattice_to_tf(k, v)