Hello, I had a problem over here in MATLAB code for solving a linear first ode using RK method of order 5 :dx/dt= lambda-sigma*x(t)- c*v(t),dv/​dt=k*v(t)-​a*z(t),dz/​dt=h*x(t)-​tow*v(t) with initial conditions x(0)= x0,v(0)=v0,z(0)=x0.

3 views (last 30 days)
RK method of order four or five code

Answers (1)

Aquatris
Aquatris on 22 Jul 2018
It is a simple think and there are various code out there. Here is one of them where you can modify it for your function.

Tags

Products


Release

R2008b

Community Treasure Hunt

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

Start Hunting!