Conversion from State Space to TF and then back to State Space
Mostrar comentarios más antiguos
I created a state space model with 2 inputs 4 outputs 4 states
used the
if true
sys_tf = tf(sys);
end
function to convert SS to tf. sys_tf comes out to a 4 X 2 matrix
Once I obtained this TF I added a PID feedback control to sys_tf(1,2) and sys_tf(3,2). Now when I convert this sys_tf to a state space model using
if true
[A,B,C,D] = ssdata(sys_tf);
sys1 = ss(A,B,C,D);
end
This creates s state space model with 2 inputs, 4 outputs and 30states. Why and how is this happening.
Thanks. Shilp
2 comentarios
Arkadiy Turevskiy
el 26 de Oct. de 2012
can you paste your code?
Shilp Dixit
el 26 de Oct. de 2012
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Control System Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!