How to obtain statespace having two inputs from transfer function in matlab mfile
Ältere Kommentare anzeigen
I am having a transfer function having two zeros and four poles.
G(s)= (as^2+bs+c)/(s^4+ds^3+es^2 )
I need to convert TF to statespace such that it has two inputs i.e. matrix B has two columns.I know the commands tf2ss but it gives me statespace with one input.
Akzeptierte Antwort
Weitere Antworten (1)
Teja Muppirala
am 5 Dez. 2012
How about:
s = tf('s');
G= (s^2+s+1)/(s^4+s^3+s^2 );
Gss = ss([G G]);
Although I don't quite see the point in having two inputs to the same system (you could just add them together and get the same response).
Kategorien
Mehr zu Dynamic System Models 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!