Simulink plot and matlab plot is different

6 Ansichten (letzte 30 Tage)
Anupa Koswatta
Anupa Koswatta am 29 Apr. 2019
Beantwortet: Daksh am 2 Feb. 2023
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?

Antworten (1)

Daksh
Daksh am 2 Feb. 2023
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!

Kategorien

Mehr zu View and Analyze Simulation Results finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by