Why tf2ss and ss(sys) gives different results?

16 views (last 30 days)
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)

Accepted Answer

Arkadiy Turevskiy
Arkadiy Turevskiy on 29 Jan 2013
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

More Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 27 Jan 2013
Edited: Azzi Abdelmalek on 27 Jan 2013
your are using two different function tf2ss and ss. Also LTI system have an infinite number of state space representation. Check it by using ss2tf for your two results
If (a,b,c,d) and (a1,b1,c1,d1) are your two different state space representation.
[N1,D1]=ss2tf(a,b,c,d]
[N2,D2]=ss2tf(a1,b1,c1,d1)
You will find that the two models represent the same system

Categories

Find more on Dynamic System Models in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!