When you perform time-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 time.
Numerical values of the system response in a data array.
Numerical values of characteristics of the system response such as peak response or settling time.
Control System Toolbox™ time-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) except for frequency response data models.
To obtain numerical data, use:
step, impulse, initial, lsim — System response data at a vector of time points.
stepinfo,lsiminfo — Numerical values of system response characteristics such as settling time and overshoot.
To obtain response plots, use:
stepplot, impulseplot, initialplot,lsimplot — Plot system response data, visualize response characteristics on plots, compare responses of multiple systems on a single plot.
ltiview — Linear analysis tool for plotting many types of system responses simultaneously, including both time-domain and frequency-domain responses