plot magnitude versus frequency - Maple Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : Science and Engineering : Dynamic Systems : Plotting and Graphical Tools : DynamicSystems/MagnitudePlot

DynamicSystems[MagnitudePlot] - plot magnitude versus frequency

Calling Sequence

MagnitudePlot(sys, opts)




System; system object to plot



(optional) equation(s) of the form option = value; specify options for the MagnitudePlot command



The MagnitudePlot command plots magnitude versus frequency of the transfer-function of subsystems of sys, a System object.


If sys is a continuous system, its s-domain transfer function is computed and then converted to the real frequency domain using the transformation s -> I*omega, where omega is the angular frequency.


If sys is a discrete system, its z-domain transfer function is computed and then converted to the real frequency domain using the transformation z -> exp(I*omega*Ts), where omega is the angular frequency and Ts is the sample time.


The MagnitudePlot command uses the plot option axis to assign a logarithmic scale to an axis. This feature does not work with the default plot driver used in the Classic Worksheet interface. To use this feature in the Classic worksheet interface, or with command-line Maple, use plotsetupmaplet. For details, see plot,device.


The MagnitudePlot command takes all standard plot,options.





The commands to create the plot from the Plotting Guide are


sys:=Diff. Equationcontinuous2 output(s); 1 input(s)inputvariable=utoutputvariable=xt,yt





MagnitudePlotsys,color=blue,green,title=System Responses

See Also

DynamicSystems, DynamicSystems[BodePlot], DynamicSystems[PhasePlot], DynamicSystems[SystemObject]

Download Help Document

Was this information helpful?

Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam