How to solve two differential equations using ode45.
Mostrar comentarios más antiguos
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 comentarios
Torsten
el 22 de Feb. de 2018
You will need four initial conditions (for x,x',y,y') if you want to use ODE45 as numerical solver.
Ebraheem Menda
el 22 de Feb. de 2018
Respuesta aceptada
Más respuestas (3)
Abraham Boayue
el 24 de Feb. de 2018
0 votos
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 comentario
Ebraheem Menda
el 24 de Feb. de 2018
Abraham Boayue
el 24 de Feb. de 2018
0 votos
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 comentarios
Ebraheem Menda
el 19 de Jul. de 2020
Ebraheem Menda
el 19 de Jul. de 2020
Ebraheem Menda
el 19 de Jul. de 2020
Ebraheem Menda
el 19 de Jul. de 2020
madhan ravi
el 19 de Jul. de 2020
You can email him by clicking his profile.
Abraham Boayue
el 19 de Jul. de 2020
0 votos
Hi Ebraheem Is there anything specific that you want me to do for you?
Categorías
Más información sobre Ordinary Differential Equations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!