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 visualizzazioni (ultimi 30 giorni)
RK method of order four or five code

Risposte (1)

Aquatris
Aquatris il 22 Lug 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.

Categorie

Scopri di più su Mathematics in Help Center e File Exchange

Tag

Prodotti


Release

R2008b

Community Treasure Hunt

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

Start Hunting!

Translated by