Second Order Coupled Differential Equations

1 visualizzazione (ultimi 30 giorni)
Stephon  Henry-Rerrie
Stephon Henry-Rerrie il 26 Gen 2017
Risposto: Torsten il 27 Gen 2017
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 Commenti
Stephon  Henry-Rerrie
Stephon Henry-Rerrie il 26 Gen 2017
Are there any methods in MATLAB that I can employ? Thanks!
Steven Lord
Steven Lord il 26 Gen 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.

Accedi per commentare.

Risposte (2)

Steven Lord
Steven Lord il 26 Gen 2017
See this video and/or this documentation page for examples of how to solve systems of ODEs.

Torsten
Torsten il 27 Gen 2017
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.

Categorie

Scopri di più su Programming in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by