23.01.2015 Views

Download - Wolfram Research

Download - Wolfram Research

Download - Wolfram Research

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.5 Graphics 91<br />

Animating Root Locus Plots<br />

Sometimes it is helpful to animate a root locus plot because this shows the orientations of the<br />

pole and zero trajectories better than a static plot. Let’s demonstrate root locus plot animation on<br />

the transfer function H4[s, a] from above. To prepare the animation we compute a sequence of<br />

pole-zero plots with identical plot ranges by mapping the following RootLocusPlot function to a<br />

table of parameter values ranging from to in steps of . This is necessary because we want to<br />

produce one separate plot in every parameter step instead of one single plot in which the solutions<br />

from all steps are superimposed.<br />

In[16]:= RootLocusPlot[H4[s, a], {a, #, #},<br />

PoleStyle −> CrossMark[0.03, Hue[0.7] &,<br />

Thickness[0.007]],<br />

ZeroStyle −> CircleMark[0.03, Hue[0.3] &,<br />

Thickness[0.007]],<br />

PlotRange −> {{−6, 1}, {−4, 4}},<br />

ShowLegend −> False,<br />

LinearRegionStyle −> RGBColor[1, 1, 1]<br />

] & /@ Table[x, {x, −3, 5, 2}]<br />

a = 5.000e0<br />

Im s<br />

2.0E0<br />

1.<br />

-5.0E0 -2.0E0 -1. 1.<br />

Re s<br />

-1.<br />

-2.0E0<br />

Out[16]=<br />

Graphics , Graphics , Graphics , Graphics , Graphics <br />

We show only one plot here; several plots are generated if the command is evaluated in a Mathematica<br />

notebook.<br />

To animate the root locus plot double-click on one of the images. Alternatively, you can select<br />

the resulting group of notebook cells containing the images with your mouse and then click on<br />

Cell | Animate Selected Graphics in Mathematica’s frontend menu.<br />

2.5.5 Transient Waveforms<br />

For displaying transient waveforms, Analog Insydes provides the command<br />

TransientPlot (Section 3.9.6). The usage of this function is demonstrated in Section 2.7.1 and<br />

Section 2.7.6.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!