Need to use ode45 to solve a problem
Mostrar comentarios más antiguos
I need to use ode 45 to solve the next problem.
The only thing I can't figure out is how to use the function on R(t-T) (T is a constant).
Is there a way to solve it this function?

Respuestas (1)
Torsten
el 28 de En. de 2022
3 votos
This is a delay differential equation.
You will have to use DDE23 instead of ode45.
2 comentarios
Noam Lusthaus
el 28 de En. de 2022
And if T is known and is a constant?
John D'Errico
el 28 de En. de 2022
Editada: John D'Errico
el 28 de En. de 2022
Delay differential equations can and often do involve a constant time lag or delay. See the link I show, to note the first example, described in the very first paragraph.
As Torsten said, you will use DDE23.
Categorías
Más información sobre Ordinary Differential Equations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!