Need to use ode45 to solve a problem
이전 댓글 표시
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?

답변 (1개)
Torsten
2022년 1월 28일
3 개 추천
This is a delay differential equation.
You will have to use DDE23 instead of ode45.
댓글 수: 2
Noam Lusthaus
2022년 1월 28일
And if T is known and is a constant?
John D'Errico
2022년 1월 28일
편집: John D'Errico
2022년 1월 28일
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.
카테고리
도움말 센터 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!