plot phase versus frequency - Maple Help

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

DynamicSystems[PhasePlot] - plot phase versus frequency

 Calling Sequence PhasePlot(sys, opts)

Parameters

 sys - System; system object to plot opts - (optional) equation(s) of the form option = value; specify options for the PhasePlot command

Description

 • The PhasePlot command plots the phase versus frequency of the transfer function of a subsystem 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 PhasePlot 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 $\mathrm{plotsetup}\left(\mathrm{maplet}\right)$. For details, see plot,device.
 • The PhasePlot command takes all standard plot,options.

Examples

 > $\mathrm{with}\left(\mathrm{DynamicSystems}\right):$
 > $\mathrm{sys}:=\mathrm{TransferFunction}\left(\frac{1}{s-10}\right):$
 > $\mathrm{PhasePlot}\left(\mathrm{sys}\right)$
 > $\mathrm{sys}:=\mathrm{Coefficients}\left(⟨⟨\left[-1\right],\left[1,4\right],\left[3\right]⟩⟩,⟨⟨\left[1,2\right],\left[1,2,3\right],\left[4,2,1\right]⟩⟩\right):$
 > $\mathrm{PhasePlot}\left(\mathrm{sys},\mathrm{color}=\left[\mathrm{red},\mathrm{green}\right],\mathrm{title}="System Responses"\right)$

Plot selected subsystems. Note how the thickness and color options cycle independently.  This is the command to create the plot from the Plotting Guide.

 > $\mathrm{PhasePlot}\left(\mathrm{sys},\mathrm{subsystem}=\left[\left[1,1\right],\left[2,1\right],\left[3,1\right]\right],\mathrm{hertz},\mathrm{thickness}=\left[1,1,2\right],\mathrm{color}=\left[\mathrm{red},\mathrm{green}\right]\right)$