differential equation ode45 or other method
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi! Help me please, How can I solve these equations by ode45 or other method?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145376/image.jpeg)
댓글 수: 0
답변 (1개)
Anish Mitra
2014년 9월 30일
As I understand, you want to compute the numerical solution to a certain differential equation in MATLAB, using the ode45 or another appropriate function.
The differential equation in question here is a Delay-Differential Equation . I assume, from the A(t-1) term in the first equation, that A is a function of the independent variable t, A(t) . This would mean that there is a delay introduced when attempting to compute the derivative of this function and hence it cannot be solved using Ordinary Differential Equation solvers like ode45.
MATLAB contains different solvers for differential equations with delay, such as dde23 , ddesd and ddensd . You can find more about these functions in the following reference :
I believe that the example of “Neutral DDE with Two Delays” given on the page below (for the ddensd solver) will help you set up the code for the differential equation described in the question.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!