nichols
Nichols response of dynamic system
Description
[
computes the frequency response of dynamic system model
mag
,phase
,wout
]
= nichols(sys
)sys
and returns the magnitude and phase of the response at each
frequency in the vector wout
. The function automatically determines
frequencies in wout
based on system dynamics.
nichols(___)
plots a Nichols chart of the frequency
response of sys
. The plot displays the magnitude (in dB) and phase
(in degrees) of the system response as a function of frequency. For more plot
customization options, use nicholsplot
.
To plot responses for multiple dynamic systems on the same plot, you can specify
sys
as a comma-separated list of models. For example,nichols(sys1,sys2,sys3)
plots the responses for three models on the same plot.To specify a color, line style, and marker for each system in the plot, specify a
LineSpec
value for each system. For example,nichols(sys1,LineSpec1,sys2,LineSpec2)
plots two models and specifies their plot style. For more information on specifying aLineSpec
value, seenicholsplot
.
Examples
Input Arguments
Output Arguments
Tips
When you need additional plot customization options, use
nicholsplot
instead.Plots created using
nichols
do not support multiline titles or labels specified as string arrays or cell arrays of character vectors. To specify multiline titles and labels, use a single string with anewline
character.nichols(sys) title("first line" + newline + "second line");