Owning Class: linear systems
Requires: MathScript RT Module
[b, a] = sos_to_tf(s)
[b, a] = sos_to_tf(s, g)
Legacy Name: sos2tf
Converts a second-order section filter to a transfer function.
| Name | Description |
|---|---|
| s | Specifies a second-order section filter. s is an L-by-6 matrix. Each row of s contains the coefficients of one section as [b0 b1 b2 1 a1 a2]. |
| g | Specifies the gain of the filter. g is a real number. |
| Name | Description |
|---|---|
| b | Returns the numerator of the filter. b is a real vector. |
| a | Returns the denominator of the filter. a is a real vector. |
s = [1 1 1 1 2 1; 1 2 1 1 1 1];
g = 9;
[b, a] = sos_to_tf(s, g)