Function File: [a, b, c, d] = tf2ss (num, den)

Conversion from transfer function to state-space. The state space system:

      .
      x = Ax + Bu
      y = Cx + Du

is obtained from a transfer function:

                num(s)
          G(s)=-------
                den(s)

The state space system matrices obtained from this function will be in observable companion form as Wolovich’s Observable Structure Theorem is used.

Package: signal