Member of the linear systems class.
[sos, g] = zp2sos(z, p)
[sos, g] = zp2sos(z, p, k)
[sos, g] = zp2sos(z, p, k, dir)
[sos, g] = zp2sos(z, p, k, dir, s)
sos = zp2sos(z, p)
sos = zp2sos(z, p, k)
sos = zp2sos(z, p, k, dir)
sos = zp2sos(z, p, k, dir, s)
Converts a zero-pole-gain representation to a second-order section.
| Name | Description | ||||||
| z | Specifies the zeros of the system. z is a vector. | ||||||
| p | Specifies the poles of the system. p is a vector. | ||||||
| k | Specifies the gain of the system. The default is 1. | ||||||
| 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 the 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. |
[z, p, k] = tf2zp([1 2 3 4], [7 6 5 4]);
[sos, g] = zp2sos(z, p, k)