why minreal command does not work?
Show older comments
also,this is my command window,would you please to tell me why mireal command does not work?
>> s=tf('s');
>> X0=[1;1];A=[-3 2;-2 -3];B=[1;0];C=[0 1];
>> U=1/s;
>> Y=zpk(minreal(C*inv(s*eye(2)-A)*(X0+B*U)))
Y =
(s+2) (s-1) (s^2 + 6s + 13)
---------------------------
s (s^2 + 6s + 13)^2
Continuous-time zero/pole/gain model.
1 Comment
Walter Roberson
on 27 Nov 2015
I thought at first you were referring to realmin(), but I see that minreal() is a function in the Control Systems Toolbox.
Answers (0)
Categories
Find more on Dynamic System Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!