discrete ode solver plot

3 visualizaciones (últimos 30 días)
tomer polsky
tomer polsky el 2 de En. de 2018
Respondida: Ayush el 3 de Oct. de 2024
hello i am using in my program ode45 function ,how ever it does not give me the right plot , is there a discrete solver of ode ?
  1 comentario
Torsten
Torsten el 2 de En. de 2018
Isn't a numeric ODE solver (like ODE45) always discrete ?
Or what exactly do you mean by "discrete" ?
Best wishes
Torsten.

Iniciar sesión para comentar.

Respuestas (1)

Ayush
Ayush el 3 de Oct. de 2024
You can use discrete (no continous state) solver if your model only contains discrete states. Please refer to this link to appropriately select the solver based on your model specification: https://www.mathworks.com/help/simulink/ug/choose-a-solver.html
ODE45 is a numerical solver for ordinary differential equations (ODEs) that uses an adaptive step size method, specifically the Dormand-Prince method, which is a member of the Runge-Kutta family of solvers. It provides a continuous solution by interpolating between the points it computes.
I hope it helps!

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by