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

13 visualizzazioni (ultimi 30 giorni)
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 Commento
Muhammad Mamoon
Muhammad Mamoon il 30 Ago 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

Accedi per commentare.

Risposte (3)

Stephan
Stephan il 2 Nov 2019

Muhammad Mamoon
Muhammad Mamoon il 30 Ago 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

Anan Yaghmour
Anan Yaghmour il 26 Nov 2021
Modificato: Anan Yaghmour il 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 :)

Categorie

Scopri di più su Dynamic System Models in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by