differential equation ode45 or other method
1 次查看(过去 30 天)
显示 更早的评论
Hi! Help me please, How can I solve these equations by ode45 or other method?
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!