converting multiple ss model to single ss model
Ältere Kommentare anzeigen
i have four state space model of one input and four output, i want to know how to convert four ss to single ss that represent those four ss model????
Antworten (2)
Arkadiy Turevskiy
am 12 Dez. 2014
Bearbeitet: Arkadiy Turevskiy
am 12 Dez. 2014
If I understand correctly, you have 4 state-space systems, where each system has 1 input and 1 output. You want to create one state space system that describes the relationship between this one input and 4 outputs.
If that is the case, then all you do is:
sys=[sys1;sys2;sys3;sys4];
where sys1,sys2,sys3,sys4 are state space systems with 1 input and 1 output.
sys is a state -space system with 1 input and 4 outputs.
akfr akfr
am 16 Dez. 2014
0 Stimmen
1 Kommentar
Arkadiy Turevskiy
am 24 Dez. 2014
s=tf('s');
sys1=1/(s+1);
sys2=2/(s+2);
sys3=3/(s+3);
sys4=4/(s+4);
sys=[sys1;sys2;sys3;sys4];
sys_ss=ss(sys)
sys_ss.a
sys_ss.b
sys_ss.c
sys_ss.d
Kategorien
Mehr zu PID Controller Tuning finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!