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

1 visualización (últimos 30 días)
GD
GD el 2 de Oct. de 2015
Respondida: @Johannes el 2 de Oct. de 2015
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?

Respuestas (1)

@Johannes
@Johannes el 2 de Oct. de 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

Categorías

Más información sobre Ordinary Differential Equations en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by