rung kutta order4

3 visualizaciones (últimos 30 días)
Abdelwahed
Abdelwahed el 1 de En. de 2012
I'm not very good in matlab programmation.so..I want to resolve the equation y"+ay'+by+c=d with (a,b,c,d) const with rung kutta order 4...but not only with ode45 i want the details...I want all the program (if it's possible) ..thanks
  1 comentario
Jan
Jan el 1 de En. de 2012
"Tags" does not mean a list of the top posters you want to answer, but some meaningful keywords such that the question can be sorted into a category. Therefore I've clean up the tags.

Iniciar sesión para comentar.

Respuesta aceptada

Jan
Jan el 1 de En. de 2012
If you type
edit ode45
you see the full source code of the Runge-Kutta oder 4 using a 5th order for the stepsize estimation. There you have all the program.
But if you want to implement it by your own, this can be done in one or two hours even by a beginner. Simply start to convert the algorithm from a text book or from WikiPedia to Matlab. If you end with a specific problem, asking in the forum is a good idea.
Btw., you are not the first one who tries to implement a Runge-Kutta, therefore you can search in the FileExchange or ask Google for other examples.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by