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!