how to Conversion transfer function to state space ...MIMO help me
8 views (last 30 days)
Show older comments
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 Comment
Muhammad Mamoon
on 30 Aug 2020
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
Answers (3)
Muhammad Mamoon
on 30 Aug 2020
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 Comments
Anan Yaghmour
on 26 Nov 2021
Edited: Anan Yaghmour
on 26 Nov 2021
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 Comments
See Also
Categories
Find more on Dynamic System Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!