Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Problem with Manipulate and OutputSystems
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  

Posts: 143
Registered: 8/22/05
Problem with Manipulate and OutputSystems
Posted: Oct 20, 2012 2:01 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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"}]


a) After shift-enter 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


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.