Function: [ zer, pol, k ] = tf2zp( num, den )
converts transfer function to poles/zeros.
Function: [ A, B, C, D ] = tf2ss( num, den )
conversion from transfer function to state-space.
Function: [ pol, zer, k ] = ss2zp( A, B, C, D )
converts a state space representation to a set of poles and zeros.
( a,b,c,d ): a state space system
k: a gain associated with zeros
octave: > [ z, p, k ] = tf2zp( [2 3], [1 0.4 1] )
z = -1.5000
p =
-0.20000 + 0.97980i
-0.20000 - 0.97980i
k = 2