Getting Started | ![]() ![]() |
Time and Frequency Responses
Time responses investigate the time-domain transient behavior of linear models for particular classes of inputs and disturbances. You can determine such system characteristics as rise time, settling time, overshoot, and steady-state error from the time response. The Control System Toolbox provides functions for step response, impulse response, initial condition response, and general linear simulations. For example, you can simulate the response to white noise inputs using lsim
and the MATLAB function randn
.
In addition to time-domain analysis, the Control System Toolbox provides functions for frequency-domain analysis using the following standard plots:
This table lists available time and frequency response functions and their use.
Functions |
Description |
|
Bode plot |
|
Computes the frequency response at a single complex frequency (not for FRD models) |
|
Computes the frequency response for a set of frequencies |
|
Input signal generator (for lsim ) |
|
Impulse response plot |
|
Initial condition response plot |
|
Pole-zero map for each I/O pair of an LTI model |
|
Simulation of response to arbitrary inputs |
|
Computes and plots gain and phase margins |
|
Nichols plot |
|
Nyquist plot |
|
Pole-zero map |
|
Step response plot |
These functions can be applied to single linear models or LTI arrays.
The functions step
, impulse
, and initial
automatically generate an appropriate simulation horizon for the time response plots. Their syntax is
where model_name
is any continuous or discrete LTI model or LTI array.
Frequency-domain plots automatically generate an appropriate frequency range as well.
![]() | Functions for Time and Frequency Response | Plotting MIMO Model Responses | ![]() |