MATLAB: Can I specify C matrix with tf2ss

MATLABtf2ss

I want to get
C = [a 0 0] (a is constant number)
system.But tf2ss provide me
C = [-6684 2.673e+08 -2.674e+12]
system.
Please tell me how to specify C matrix.

Best Answer

You cannot specify the C matrix in a tf2ss() call. It always calculates the C matrix based upon the numerator and denominator. Look around line 80 of tf2ss
Related Question