rung kutta order4
3 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Jan
2012 年 1 月 1 日
"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.
採用された回答
Jan
2012 年 1 月 1 日
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.
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!