Defining ODEs inside an ODE45 function.

2 次查看(过去 30 天)
Hi. How do I define ODEs inside an ODE45 function? I have a ODE45 function, which was working fine and now I would like to add two more ODEs to that as dependent variables. How can I do that? Kindly let me know.
  1 个评论
James Tursa
James Tursa 2020-4-8
Please give us more specifics about your current code and what ODEs you want to add. The only advice we can currently offer is to increase the size of your state vector by 2 and then add your DEs in the derivative function.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by