how to Conversion transfer function to state space ...MIMO help me
11 次查看(过去 30 天)
显示 更早的评论
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
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 个)
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
0 个评论
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 :)
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!