How to solve two differential equations using ode45.
이전 댓글 표시
My system is this
x"+ x'+ x + y'=0;
y"+ y'+ y + x'=0;
i need to solve these differential equations using ode's.
thanks in advance.
댓글 수: 2
Torsten
2018년 2월 22일
You will need four initial conditions (for x,x',y,y') if you want to use ODE45 as numerical solver.
Ebraheem Menda
2018년 2월 22일
채택된 답변
추가 답변 (3개)
Abraham Boayue
2018년 2월 24일
0 개 추천
Hey Ebraheem There are many excellent methods that you can use to solve your problem, for instance, the finite difference method is a very powerful method to use. I can try with that.The ode45 function is a matlab built in function and was designed to solve certain ode problems, it may not be suitable for a number of problems. What are the initial values of your equations? Do you have any plot of the solution that one can use as a guide?
Abraham Boayue
2018년 2월 24일
0 개 추천
The finite difference method is used to solve differential and partial equations. It is easier to implement in matlab. You can do the coding in any version of matlab, I have taken a course in numerical mathematics before and have a fairly good knowledge of how to solve such problems.
댓글 수: 5
Ebraheem Menda
2020년 7월 19일
Ebraheem Menda
2020년 7월 19일
Ebraheem Menda
2020년 7월 19일
Ebraheem Menda
2020년 7월 19일
madhan ravi
2020년 7월 19일
You can email him by clicking his profile.
Abraham Boayue
2020년 7월 19일
0 개 추천
Hi Ebraheem Is there anything specific that you want me to do for you?
카테고리
도움말 센터 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!