nyquistplot
Plot Nyquist response of dynamic system
Syntax
Description
The nyquistplot function plots the Nyquist response of a dynamic system
model. To customize the plot,
you can return an NyquistPlot object and modify it using dot notation. For
more information, see Customize Linear Analysis Plots at Command Line.
To obtain Nyquist response data, use the nyquist function.
nyquistplot( plots the Nyquist response
of the dynamic system model sys)sys.
If sys is a multi-input, multi-output (MIMO) model, then the
nyquistplot function creates a grid of Nyquist plots with each plot
displaying the frequency response of one input-output pair.
nyquistplot(___,
plots the Nyquist response with the plotting options specified in
plotoptions)plotoptions. Settings you specify in
plotoptions override the plotting preferences for the current
MATLAB® session. This syntax is useful when you want to write a script to generate
multiple plots that look the same regardless of the local preferences.
nyquistplot(___,
specifies response properties using one or more name-value arguments. For example,
Name=Value)nyquistplot(sys,LineWidth=1) sets the plot line width to 1. (since R2026a)
When plotting responses for multiple systems, the specified name-value arguments apply to all responses.
The following name-value arguments override values specified in other input arguments.
nyquistplot( plots
the Nyquist response in the specified parent graphics container, such as a
parent,___)Figure or TiledChartLayout, and sets the
Parent property. Use this syntax when you want to create a plot in
a specified open figure or when creating apps in App Designer.
plots the
Nyquist response and returns the corresponding chart object. To customize the appearance
and behavior of the response plot, modify the chart object properties using dot
notation.np = nyquistplot(___)
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Tips
There are two zoom options available from the right-click menu that apply specifically to Nyquist plots:
Full View — Clips unbounded branches of the Nyquist plot, but still includes the critical point (–1, 0).
Zoom on (-1,0) — Zooms around the critical point (–1,0). To access critical-point zoom programmatically, use the
zoomcpcommand.
Version History
Introduced before R2006aSee Also
nyquist | nyquistoptions | addResponse | showConfidence (System Identification Toolbox) | zoomcp










