Second Order Coupled Differential Equations
Afficher commentaires plus anciens
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 commentaires
Stephon Henry-Rerrie
le 26 Jan 2017
Steven Lord
le 26 Jan 2017
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.
Réponses (2)
Steven Lord
le 26 Jan 2017
0 votes
Torsten
le 27 Jan 2017
0 votes
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.
Catégories
En savoir plus sur Programming dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!