主要内容

时域和频域分析

系统响应,如波特图和阶跃响应;系统特性,如响应时间和超调;仿真

您可以使用时域和频域分析命令计算和可视化 SISO 和 MIMO 系统响应,如波特图、尼柯尔斯图、阶跃响应和冲激响应。您还可以提取系统特性,如上升时间和稳定时间、超调和稳定裕度。要开始绘制响应,请参阅绘制系统响应。有关自定义响应图的详细信息,请参阅绘制自定义

函数

全部展开

响应图

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

响应数据

step动态系统的阶跃响应
stepinfo上升时间、稳定时间和其他阶跃响应特征
impulse动态系统的冲激响应图;冲激响应数据
initial系统对状态空间模型的初始状态的响应
lsim计算动态系统对任意输入的时间响应仿真数据
lsiminfo计算线性响应特征
covar白噪声驱动系统的输出与状态协方差

响应选项

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

响应图

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

响应数据

bode动态系统的波特频率响应
nyquist动态系统的奈奎斯特响应
nichols动态系统的尼柯尔斯响应
sigma动态系统的频率响应的奇异值
freqresp在频率网格上评估系统响应
evalfr计算特定频率下的系统响应
dcgainLTI 系统的低频 (DC) 增益
bandwidth频率响应带宽
getPeakGainPeak gain of dynamic system frequency response
getGainCrossoverCrossover frequencies for specified gain
fnormFRD 模型的逐点峰值增益
normNorm of linear model
db2mag将分贝 (dB) 转换为幅值
mag2db将幅值转换为分贝 (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

App

线性系统分析器分析线性时不变 (LTI) 系统的时域响应和频域响应

工具

线性仿真工具Specify input signals and initial conditions for simulating linear models with arbitrary input signals and initial conditions

实时编辑器任务

创建绘图Interactively create linear analysis response plots in the Live Editor (自 R2022b 起)

模块

LTI SystemSimulink 中使用线性时不变系统模型对象

主题

分析图基础知识

时域分析

频域分析

线性系统分析器

  • 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.

具有时滞的系统

精选示例

教学资源