the Runge-Kutta integration scheme
1 次查看(过去 30 天)
显示 更早的评论
implement Runge-Kutta integration scheme with the delta=0.005
dx/dt=-x*(2-y), t0=0, x(t0)=1
dy/dt=y*(1-2*x), t0=0, y(t0)=2
but I am not sure the matlab code for Runge-Kutta integration method 4 steps
May anyone help me please?
Many thanks for helping!
4 个评论
Jan
2012-11-20
You can find a lot of Runge-Kutta implementations in the net. I suggest to use one of them and convert it to Matlab. If you get problems, post the code you have and ask for a specific line of code.
回答(1 个)
Jan
2012-11-18
You can compare the results of your function with the one calculated by Matlab's ODE45. Which differences do you see?
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Whos 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!