Second Order Coupled Differential Equations

조회 수: 1 (최근 30일)
Stephon  Henry-Rerrie
Stephon Henry-Rerrie 2017년 1월 26일
답변: Torsten 2017년 1월 27일
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
Stephon Henry-Rerrie 2017년 1월 26일
Are there any methods in MATLAB that I can employ? Thanks!
Steven Lord
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
Steven Lord 2017년 1월 26일
See this video and/or this documentation page for examples of how to solve systems of ODEs.

Torsten
Torsten 2017년 1월 27일
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.

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by