Convert state-space filter parameters to transfer function form
[b,a] = ss2tf(A,B,C,D,iu)
ss2tf converts a state-space representation of a given system to an equivalent transfer function representation.
of the system
from the iu-th input. Vector a contains the coefficients of the denominator in descending powers of s. The numerator coefficients are returned in array b with as many rows as there are outputs y. ss2tf also works with systems in discrete time, in which case it returns the z-transform representation.
The ss2tf function is part of the standard MATLAB® language.