Owning Class: linear systems
Requires: MathScript RT Module
k = tf_to_lattice(b)
k = tf_to_lattice(b, option)
[k, v] = tf_to_lattice(b, a)
Legacy Name: tf2latc
Converts a transfer function to a lattice filter.
| Name | Description | ||||
|---|---|---|---|---|---|
| b | Specifies the forward filter coefficients. b is a real vector. | ||||
| a | Specifies the backward filter coefficients. a is a real vector. | ||||
| option | Specifies the type of filter. option is a string that accepts the following values:
|
| Name | Description |
|---|---|
| k | Returns the lattice reflection coefficients. |
| v | Returns the lattice ladder coefficients. |
b = [1.06, 0.374, 0.422, 0.1];
a = [1, 0.22, 0.26, 0.5];
[k, v] = tf_to_lattice(b, a)