Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



Problem with Manipulate and OutputSystems
Posted:
Oct 20, 2012 2:01 PM


Dear All
I am trying to build an example of third order system with Manipulate. Here are the commands
order2withzero[=CE=B6_, =CF=89_, =CE=B3_] := TransferFunctionModel[=CF=89^2/((s^2 + 2 =CE=B6 =CF=89 s + =CF=89^2)*(=CE=B3*s + 1)), s];
Manipulate[{sys = order2withzero[1/5, 5, =CE=B3], sys2 = order2withzero[1/5, 5, 0], Plot[{OutputResponse[sys, UnitStep[t], t], OutputResponse[sys2, UnitStep[t], t]} // Evaluate, {t, 0, 5 + UnitStep[4*=CE=B3  5]*4*=CE=B3}, PlotRange > All]}, Style["Second Order System with an extra pole" , Bold], {=CE=B3, 0.01, 3, Appearance > "Labeled"}]
Problems:
a) After shiftenter Mathematica shows me a response of unstable system but the defined systems is always stable. How come? Have I done something wrong? b) For some values of gamma, Mathematica shows an incomplete plot of one the responses. Why?
Many many thanks
Ed



