I created a state space model with 2 inputs 4 outputs 4 states
used the
if truesys_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
Best Answer