将输出与测量数据进行比较
绘制仿真或预测输出和测量数据以进行比较,计算最佳拟合值
在辨识模型时,您可以仿真或预测模型响应,并将该响应与测量的输入/输出数据进行比较。这种比较可以帮助您在候选模型中进行选择,还可以帮助您验证所选的辨识模型。您可以在使用能够根据数据估计的初始条件的同时,将模型响应与测量的输出数目据一起绘制。您还可以计算一个度量来量化模型响应与测量的输出数目据的匹配程度。
函数
主题
将模型输出与测量数据进行比较
- 将仿真输出与测量验证数据进行比较
此示例说明如何通过将仿真模型输出与原始估计中未使用的测量数据进行比较来验证估计模型。 - 在“系统辨识”App 中绘制模型
要生成一个或多个模型图,请在“系统辨识”App 的 Model Views 区域中选中相应的复选框。活动状态的模型图标中有一条粗线,而非活动状态的模型图标中则有一条细线。只有活动模型才会显示在所选绘图上。
仿真或预测模型响应
- Simulate and Predict Identified Model Output
Understand the difference between simulated and predicted output and when to use each.
设置初始条件
- Estimate Initial Conditions for Simulating Identified Models
Estimate initial conditions for use in simulations executed from the command line, from Simulink®, and from the System Identification app. - Apply Initial Conditions When Simulating Identified Linear Models
This example describes the workflow for obtaining estimated initial conditions (ICs) for a transfer function model and using the ICs when simulating the model. The example also shows how to use ICs when you convert a model from one model type to another. - Reproduce Command Line or System Identification App Simulation Results in Simulink
Resolve differences between simulation results when comparing command-line or System Identification model outputs with Simulink outputs.
绘制数据
- 支持的模型图
查看可用的绘图类型及相应的支持模型。
- Compute Model Uncertainty
Compute model parameter uncertainty of linear models. - 指定线性分析图的工具箱设置
设置在线性分析图中,这些设置将在不同 MATLAB® 会话之间保持不变。