In which format a differential equation is required to use dsolve() solver?
2 次查看(过去 30 天)
显示 更早的评论
I want to solve two simultaneous second-degree differential equations. Which solver can I use for it? If I use dsolve, in which form should I input equations?
0 个评论
回答(1 个)
Star Strider
2017-5-2
The dsolve function is part of the Symbolic Math Toolbox, so you would enter your equations as symbolic functions and then use dsolve to solve them. See the documentation on dsolve for details.
You can also use the Symbolic Math Toolbox to set up (but not solve) nonlinear differential equations to use in ode45, ode15s, and others. You will find the odeToVectorField and matlabFunction functions invaluable.
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!