discrete ode solver plot

3 次查看(过去 30 天)
tomer polsky
tomer polsky 2018-1-2
回答: Ayush 2024-10-3
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 个评论
Torsten
Torsten 2018-1-2
Isn't a numeric ODE solver (like ODE45) always discrete ?
Or what exactly do you mean by "discrete" ?
Best wishes
Torsten.

请先登录,再进行评论。

回答(1 个)

Ayush
Ayush 2024-10-3
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!

类别

Help CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by