Main Content

Convert digital filter second-order section parameters to state-space form

The `sos2ss`

function first converts from second-order sections to
transfer function using the `sos2tf`

function, and then from transfer function
to state-space form using the `tf2ss`

function.

The single-input, single-output state-space representation is given by

$$\begin{array}{ll}x(n+1)\hfill & =Ax(n)+Bu(n),\hfill \\ y(n)\hfill & =Cx(n)+Du(n).\hfill \end{array}$$