将输出与测量数据进行比较
绘制仿真或预测输出和测量数据以进行比较,计算最佳拟合值
在识别模型时,您可以仿真或预测模型响应,并将该响应与测量的输入/输出数目据进行比较。这种比较可以帮助您在候选模型中进行选择,还可以帮助您验证所选的辨识模型。您可以在使用能够根据数据估计的初始条件的同时,将模型响应与测量的输出数目据一起绘制。您还可以计算一个度量来量化模型响应与测量的输出数目据的匹配程度。
函数
主题
将模型输出与测量数据进行比较
- 将仿真输出与测量验证数据进行比较
此示例说明如何通过将仿真模型输出与原始估计中未使用的测量数据进行比较来验证估计模型。 - Plot Models in the System Identification App
To create one or more plots of your models, select the corresponding check box in the Model Views area of the System Identification app.
仿真或预测模型响应
- 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.
绘制数据
- Supported Model Plots
Examine available plot types and corresponding supported models.
- Compute Model Uncertainty
Compute model parameter uncertainty of linear models. - Specify Toolbox Preferences for Linear Analysis Plots
Set linear analysis plot preferences that persist between MATLAB® sessions.