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.

2 次查看(过去 30 天)
RK method of order four or five code

回答(1 个)

Aquatris
Aquatris 2018-7-22
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.

类别

Help CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

标签

产品


版本

R2008b

Community Treasure Hunt

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

Start Hunting!

Translated by