MATLAB Answers

Kiran Sagar

Different scope result for two different run times

Asked by Kiran Sagar
on 29 Mar 2013

Here are two scopes of the same simulation run for different run times 50s and 100s. For 50 s, the concerned parameter remains constant but not in case of 100s, it starts changing after ~17 s, but in negligible magnitude. has anyone faced the same problem, if yes, is there any explanation to it.

here are the images: 50 s:


  1 Comment

Kiran Sagar
on 29 Mar 2013

i have not disturbed/changed the scale of the case somebody thinks that way



1 Answer

Answer by Azzi Abdelmalek
on 29 Mar 2013

I 've faced the same problem, I was using 1/p block. But could not find the explanation.


Azzi Abdelmalek
on 29 Mar 2013

The only logical explanation I can guess, is: if the solver's step time is set to variable, then for different stop time, the variable step time changes differently.

Kiran Sagar
on 30 Mar 2013

seems a bit long shot but its the only possible explanation.......yes the solver is set to variable......any possible solutions ????

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!