Why tf2ss and ss(sys) gives different results?
Mostrar comentarios más antiguos
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)
Respuesta aceptada
Más respuestas (1)
Azzi Abdelmalek
el 27 de En. de 2013
Editada: Azzi Abdelmalek
el 27 de En. de 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
Categorías
Más información sobre Signal Operations en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!