MATLAB: Tf2ss and ss(sys) gives different results

Control System Toolboxstate-space

This code gives different results. However the tfs are the same. Can anybody exxplain it why?
[A1,B1,C1,D1]=tf2ss([25.61 6.2],[24.78 29.74 6.202])
sys=tf([25.61 6.2],[24.78 29.74 6.202]);
ss(sys)

Best Answer

This is explained in the doc page for ss. Please click here, and scroll down to click on "Algorithms" in the "More About" section.
Arkadiy
Related Question