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

13 visualizaciones (últimos 30 días)
belal hariz belgacem
belal hariz belgacem el 2 de Nov. de 2019
Editada: Anan Yaghmour el 26 de Nov. de 2021
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 comentario
Muhammad Mamoon
Muhammad Mamoon el 30 de Ag. de 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

Iniciar sesión para comentar.

Respuestas (3)

Stephan
Stephan el 2 de Nov. de 2019

Muhammad Mamoon
Muhammad Mamoon el 30 de Ag. de 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 el 26 de Nov. de 2021
Editada: Anan Yaghmour el 26 de Nov. de 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 :)

Categorías

Más información sobre Dynamic System Models en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by