Second Order Coupled Differential Equations
显示 更早的评论
Is it possible to write code to model this type of differential equation? :
x'' = f(y, y', y'')
y'' = g(x, x', x'')
Thanks!
2 个评论
Stephon Henry-Rerrie
2017-1-26
Steven Lord
2017-1-26
Yes, MATLAB has several different functions for solving ODEs. The video and documentation page I linked in my answer describe how to use some of them, and the page I linked in this comment includes another example and offers some guidance about which solver to use for particular types of problems.
回答(2 个)
Steven Lord
2017-1-26
0 个投票
Torsten
2017-1-27
0 个投票
Can you solve for x'' and y'' , i.e.
x''=function1(x,x',y,y') y''=function2(x,x',y,y')
?
If yes, you can use any ODE solver from the ODE-suite you like.
If not, try ODE15i.
Best wishes
Torsten.
类别
在 帮助中心 和 File Exchange 中查找有关 Programming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!