Frequency-Domain Responses
When you perform frequency-domain analysis of a dynamic system model, you may want one or more of the following:
A plot of the system response as a function of frequency, or plots of pole and zero locations.
Numerical values of the system response in a data array.
Numerical values of characteristics of the system response such as stability margins, peak gains, or singular values.
Control System Toolbox™ frequency-domain analysis commands can obtain these results for any kind of dynamic system model (for example, continuous or discrete, SISO or MIMO, or arrays of models).
To obtain numerical data, use:
bode
,freqresp
,nichols
,nyquist
— System response data at a vector of frequency points.margin
,getPeakGain
,getGainCrossover
,sigma
— Numerical values of system response characteristics such as gain margins, phase margins, and singular values.
To obtain response plots, use:
bode
,bodemag
,nichols
,nyquist
— Plot system response data, visualize response characteristics on plots, compare responses of multiple systems on a single plot.bodeplot
,nicholsplot
,nyquistplot
,sigmaplot
— Create system response plots with more plot-customization options. For details about plot customization, see Plot Customization.Linear System Analyzer — App for plotting many types of system responses simultaneously, including both time-domain and frequency-domain responses
To obtain pole-zero maps, use:
If you have a generalized state-space (genss
)
model of a control system, you can extract various transfer functions
from it for analysis using frequency-domain and time-domain analysis
commands. Extract responses from such models using getIOTransfer
, getLoopTransfer
, getSensitivity
, and getCompSensitivity
.