The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Help with RootLocusPlot
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List

Posts: 143
Registered: 8/22/05
Help with RootLocusPlot
Posted: May 1, 2013 9:39 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I am using Manipulate to see how the gain k affects the response of a system. Two graphics are shown: OuputResponse and RootLocusPlot.

Below you will find the piece of code I am working with.




crlPlt[k_,z_]:=RootLocusPlot[Evaluate@copenloop[k,z],{k,0,250},PlotLabel->Style[Evaluate@copenloop[k,z] ,16],PlotRange-> Automatic,ImageSize-> {250,300},PlotStyle-> Thickness[0.02]];



Manipulate[GraphicsRow[{Show[Plot[Evaluate[crespPlt[100,loc,z]],{t,0,6},PlotRange->{All,{0,1.5}},AxesOrigin-> {0,0},GridLines->Automatic,GridLinesStyle-> Dashed,AspectRatio->Full,AxesLabel->{Style["t",Italic,14],Style["y(t)",Italic,14]},PlotLabel->Style["Step Response and Root Locus",16],PlotStyle-> Thickness[0.01],ImageSize-> {250,250}]],

Style["Root Locus" ,18,Bold],"",Delimiter,{{loc,k1,"Gain (k)"},0,100,1,Appearance->"Labeled"},Delimiter,{{z,z2,"Zero (z)"},0,20,1,Appearance->"Labeled"},SaveDefinitions-> True]

The second panel does not show what I need. What am I doing wrong? I feel that I am missing something ....

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 at NCTM 1994-2018. All Rights Reserved.