History function for ODE45
1 次查看(过去 30 天)
显示 更早的评论
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,
0 个评论
采纳的回答
Bjorn Gustavsson
2021-10-25
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
更多回答(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!