Simulink plot and matlab plot is different
6 次查看(过去 30 天)
显示 更早的评论
The plot I got for the simulink and matlab are different for the same data set.
I want to plot it as the matlab plot attached.
Could you please tell me how to fix this problem?
0 个评论
回答(1 个)
Daksh
2023-2-2
I understand you're experiencing inconsistency with MATLAB and Simulink plot outputs. This could be due to the following factors in Simulink: step size, type of solver, data interpolation method and sample time. Kindly vary all these factors to have a consistent plot output as MATLAB, hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 View and Analyze Simulation Results 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!