Main Content

Time and Frequency Domain Analysis

System responses such as Bode plots and step responses; system characteristics such as response time and overshoot; simulation

Time-domain and frequency-domain analysis commands let you compute and visualize SISO and MIMO system responses such as Bode plots, Nichols plots, step responses, and impulse responses. You can also extract system characteristics such as rise time and settling time, overshoot, and stability margins. To get started with plotting responses, see Plotting System Responses. For more information on customizing response plots, see Plot Customization.

Functions

expand all

Response Plots

impulseplotPlot impulse response of dynamic system
initialplotPlot initial condition response of dynamic system
stepplotPlot step response of dynamic system
lsimplotPlot simulated time response of dynamic system to arbitrary inputs

Response Data

stepStep response of dynamic system
stepinfoRise time, settling time, and other step-response characteristics
impulseImpulse response plot of dynamic system; impulse response data
initialSystem response to initial states of state-space model
lsimCompute time response simulation data of dynamic system to arbitrary inputs
lsiminfoCompute linear response characteristics
covarOutput and state covariance of system driven by white noise

Response Options

RespConfigOptions for step or impulse responses (Since R2023a)
gensigCreate periodic signals for simulating system response with lsim

Response Plots

bodeplotPlot Bode frequency response of dynamic system
nicholsplotPlot Nichols frequency response of dynamic system
nyquistplotPlot Nyquist response of dynamic system
sigmaplotPlot singular values for frequency response of dynamic system
bodemag Magnitude-only Bode plot of frequency response

Response Data

bodeBode frequency response of dynamic system
nyquistNyquist response of dynamic system
nicholsNichols response of dynamic system
sigmaSingular values of frequency response of dynamic system
freqrespEvaluate system response over a grid of frequencies
evalfrEvaluate system response at specific frequency
dcgainLow-frequency (DC) gain of LTI system
bandwidthFrequency response bandwidth
getPeakGainPeak gain of dynamic system frequency response
getGainCrossoverCrossover frequencies for specified gain
fnormPointwise peak gain of FRD model
normNorm of linear model
db2magConvert decibels (dB) to magnitude
mag2dbConvert magnitude to decibels (dB)
getLoopTransferOpen-loop transfer function of control system represented by genss model
getIOTransferClosed-loop transfer function from generalized model of control system
getSensitivitySensitivity function from generalized model of control system
getCompSensitivityComplementary sensitivity function from generalized model of control system

Apps

Linear System AnalyzerAnalyze time-domain and frequency-domain responses of linear time-invariant (LTI) systems

Tools

Linear Simulation ToolSpecify input signals and initial conditions for simulating linear models with arbitrary input signals and initial conditions

Live Editor Tasks

Create PlotInteractively create linear analysis response plots in the Live Editor (Since R2022b)

Blocks

LTI SystemUse linear time invariant system model object in Simulink

Topics

Analysis Plots Basics

Time-Domain Analysis

Frequency-Domain Analysis

Linear System Analyzer

  • Joint Time-Domain and Frequency-Domain Analysis
    Compare multiple types of responses side by side, including both time-domain and frequency-domain responses, using the Linear System Analyzer app.
  • Analyzing MIMO Models
    In analysis plots of multiple-input, multiple output LTI models, there are plot tools for selecting subsystems and grouping I/O pairs.

Systems with Time Delays

Featured Examples

Teaching Resources