Simulink plot and matlab plot is different

8 ビュー (過去 30 日間)
Anupa Koswatta
Anupa Koswatta 2019 年 4 月 29 日
回答済み: Daksh 2023 年 2 月 2 日
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?

回答 (1 件)

Daksh
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!

カテゴリ

Help Center および File ExchangeView and Analyze Simulation Results についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by