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
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')
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!