How to solve two differential equations using ode45.
Afficher commentaires plus anciens
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 commentaires
Torsten
le 22 Fév 2018
You will need four initial conditions (for x,x',y,y') if you want to use ODE45 as numerical solver.
Ebraheem Menda
le 22 Fév 2018
Réponse acceptée
Plus de réponses (3)
Abraham Boayue
le 24 Fév 2018
0 votes
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?
1 commentaire
Ebraheem Menda
le 24 Fév 2018
Abraham Boayue
le 24 Fév 2018
0 votes
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 commentaires
Ebraheem Menda
le 19 Juil 2020
Ebraheem Menda
le 19 Juil 2020
Ebraheem Menda
le 19 Juil 2020
Ebraheem Menda
le 19 Juil 2020
madhan ravi
le 19 Juil 2020
You can email him by clicking his profile.
Abraham Boayue
le 19 Juil 2020
0 votes
Hi Ebraheem Is there anything specific that you want me to do for you?
Catégories
En savoir plus sur Ordinary Differential Equations 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!