Why tf2ss and ss(sys) gives different results?

15 vues (au cours des 30 derniers jours)
Farid
Farid le 27 Jan 2013
Commenté : Arash Mohammadi le 3 Juil 2016
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)

Réponse acceptée

Arkadiy Turevskiy
Arkadiy Turevskiy le 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
  1 commentaire
Arash Mohammadi
Arash Mohammadi le 3 Juil 2016
what is the algorithm for ss2tf?

Connectez-vous pour commenter.

Plus de réponses (1)

Azzi Abdelmalek
Azzi Abdelmalek le 27 Jan 2013
Modifié(e) : Azzi Abdelmalek le 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

Catégories

En savoir plus sur Dynamic System Models dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by