I have a complex ODE, why do the results vary dpending on the solver?

2 views (last 30 days)
I have a complex ODE, i use fixed step solver to solve this simulink model. Once I used ODE8 and then later i used ODE14x, then i compared the results of these simulations and both were different. How could I know which one is correct?

Answers (1)

@Johannes
@Johannes on 2 Oct 2015
Hello,
because ODE8 und ODE14x are using different numerical Methods to solve your ode. ODE8 is an explicit solver while ODE14x is an implicit solver. You should choose your solver dependent of your problem. For example, if you have a stiff problem you should use a implicit solver.
Regards,
John

Products

Community Treasure Hunt

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

Start Hunting!