the Runge-Kutta integration scheme
1 view (last 30 days)
Show older comments
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 Comments
Jan
on 20 Nov 2012
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.
Answers (1)
Jan
on 18 Nov 2012
You can compare the results of your function with the one calculated by Matlab's ODE45. Which differences do you see?
0 Comments
See Also
Categories
Find more on Whos in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!