Owning Class: linear systems
Requires: MathScript RT Module
[sos, g] = tf_to_sos(b, a)
[sos, g] = tf_to_sos(b, a, dir)
[sos, g] = tf_to_sos(b, a, dir, s)
sos = tf_to_sos(b, a)
sos = tf_to_sos(b, a, dir)
sos = tf_to_sos(b, a, dir, s)
Legacy Name: tf2sos
Converts a transfer function to a second-order section.
| Name | Description | ||||||
|---|---|---|---|---|---|---|---|
| b | Specifies the forward filter coefficients. b is a vector. | ||||||
| a | Specifies the backward filter coefficients. a is a vector. | ||||||
| dir | Specifies how to arrange the second-order sections. dir accepts the following values.
|
||||||
| s | Specifies the desired scaling of the gain and the numerator coefficients of all second-order sections. s accepts the following values.
|
| Name | Description |
|---|---|
| sos | Returns a second-order section system. sos is an L-by-6 matrix. Each row of s contains the coefficients of one section as [b0 b1 b2 1 a1 a2]. |
| g | Returns the gain of the system. If you do not specify g, LabVIEW embeds the gain in the first section. |
[sos, g] = tf_to_sos([1 2 3 4], [7 6 5 4])