Output of Transfer Function in Sys ID App not the same as workspace
1 回表示 (過去 30 日間)
古いコメントを表示
The output of a model is different in the App than in the command line:
From the app
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1043525/image.jpeg)
y_sim2 = sim( tf4 , merged(:,[],:));
y2 = y_sim2.OutputData;
realy = merged.OutputData;
%%
figure()
plot(y2{2}, 'Color', 'c')
hold on
plot(realy{2}, 'Color', 'k')
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1043530/image.png)
I am wondering why this occurs with the same transfer function and the same input!
0 件のコメント
回答 (1 件)
Rajiv Singh
2022 年 8 月 9 日
In addition to the input, you need to ensure that you are using the same initial conditions. See:
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Uncertainty Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!