User`s guide

Table Of Contents
5 Model Analysis Tools
5-12
In addition, the function margin determines the gain and phase margins for a
given SISO open-loop model. These functions can be applied to single LTI
models or LTI arrays.
As for time response functions, the commands
bode(sys)
nichols(sys)
nyquist(sys)
sigma(sys)
handle both continuous and discrete models. These functions produce a
frequency response plot for SISO LTI models, and an array of plots in the
MIMO case. The frequency grid used to evaluate the response is automatically
selected based on the system poles and z eros.
TheBodeplotproducedby
bode plots the magnitude of the frequency response
in decibels (dB), as
20*log10(abs(response)). Phase is plotted in degrees.
To set the frequency range explicitly to some interval
[wmin,wmax],usethe
syntax
bode(sys,{wmin , wmax}) % Note the curly braces
Table 5-1: Frequency Response
Function Name Description
bode
ComputestheBodeplot.
evalfr
Computes t he frequency response at a single
complex frequency (not for FRD models).
freqresp
Computes the frequency response for a set of
frequencies.
margin
Computes gain a nd phase margins.
ngrid
Applies grid lines to a Nichols plot.
nichols
Computes the Nichols plot.
nyquist
Computes the Nyquist plot.
sigma
Computes the singular v alue plot.