how to Conversion transfer function to state space ...MIMO help me

11 次查看(过去 30 天)
Capture.PNG
ans =
From input 1 to output...
0.04
1: ------------------
s^2 + 12 s + 20.12
0.02 s + 0.2
2: ------------------
s^2 + 12 s + 20.12
From input 2 to output...
-100 s - 200
1: ------------------
s^2 + 12 s + 20.12
6
2: ------------------
s^2 + 12 s + 20.12
  1 个评论
Muhammad Mamoon
Muhammad Mamoon 2020-8-30
G11 = nd2sys([1 1],[1 5 6]);
G12 = nd2sys([1 0],[1 1]);
G21 = nd2sys([1 0 -2],[1 7 12]);
G22 = nd2sys([1 4],[1 3 2]);
G = sbs(abv(G11,G21), abv(G12,G22));
[A,B,C,D] = unpck(G)
this way u can have... use your values

请先登录,再进行评论。

回答(3 个)

Stephan
Stephan 2019-11-2

Muhammad Mamoon
Muhammad Mamoon 2020-8-30
G11 = nd2sys([1 1],[1 5 6]);
G12 = nd2sys([1 0],[1 1]);
G21 = nd2sys([1 0 -2],[1 7 12]);
G22 = nd2sys([1 4],[1 3 2]);
G = sbs(abv(G11,G21), abv(G12,G22));
[A,B,C,D] = unpck(G)
this way u can have... use your values

Anan Yaghmour
Anan Yaghmour 2021-11-26
编辑:Anan Yaghmour 2021-11-26
nu={[0 0 .04],[0 -100 -200];[0 .02 .2] [0 0 6]};
de=repmat({[1 12 503/25]},2,2);
sys=ss(tf(nu,de));
Where sys is an object contains all state space represenation matrices, so if you want the A matrix, just type:
sys.A
Enjoy :)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by