History function for ODE45

1 visualización (últimos 30 días)
N/A
N/A el 25 de Oct. de 2021
Comentada: N/A el 25 de Oct. de 2021
Hi everyone
I am currently solving an equation using ODE45 in matlab. I had a question though.
Is that possible to define a history function for ODE45 instead of initial conditions?
Thank you in advance for you help.
Regards,

Respuesta aceptada

Bjorn Gustavsson
Bjorn Gustavsson el 25 de Oct. de 2021
Since ode45 solves systems of first-order differential equations on the standard form the history does not matter, so I've never seen a way to incorporate that into ode45-calls. If your differential equations depend on the history you perhaps have a delay-differential equation - which can be handled with dde23, look at the help and documentation to that function...
HTH
  1 comentario
N/A
N/A el 25 de Oct. de 2021
Thank you very much.....

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

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

Etiquetas

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by