How to convert tf2ss for MIMO system?

17 次查看(过去 30 天)
Hello
Right now, I'm doing simulation that involve MIMO model. But the problem is I'm not sure with the result that was obtained.
Here is the command that I use to obtained TF of the model
g11=tf([134 295.2 53.5 0.5853],[1 2.462 0.986 0.1108 0.0007886]);
g12=tf([-0.03117 -0.006172 -6.789e-005],[1 2.462 0.986 0.1108 0.0007886]);
g21=tf([-9.083 -14.93 -2.62 -0.01219],[1 2.462 0.986 0.1108 0.0007886]);
g22=tf([0.06994 0.03405 0.004153 2.892e-005],[1 2.462 0.986 0.1108 0.0007886]);
s=tf('s');
Gspm=[g11 g12;g21 g22]
And I use sys=ss(Gspm) to obtain ss.
But the result look like something wrong. It's command sys=ss(Gspm) is wrong?
Anyone can help me?
Thank you in advance =)

采纳的回答

Arkadiy Turevskiy
编辑:Arkadiy Turevskiy 2015-3-3
There is no error in your code and the resulting sys is an accurate representation of your MIMO system.
bode(Gspm);
hold on;
bode(sys,'r');
If your question is really about the number of states you get, this page might help.
HTH. Arkadiy

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Extraction 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by