Lorenz equation with 4th rungekutta method

1 次查看(过去 30 天)
sz
sz 2020-5-28
编辑: sz 2020-5-29
I would like to plot the Lorentz equation using 4th rungekutta method.(If possible don't use ODE)
Please give me how to plot it.
for loop seems difficult and i don't understand.
dy/dt=-xz+rx-y
dz/dt=xy-bz p=10, r=28, b=8/3
x(0)=10, y(0)=12, z(0)=25ing the
x(1)=10;
y(1)=12;
z(1)=25;
dy(1)=p*y(1)+p*y(2);
dy(2)=-y(1)*y(3)+r*y(1)-y(2);
dy(3)=y(1)*y(2)-b*y(3);
for i=1:length(t)-1;
   y(i+1)=y(i)+v(i)*h
i don't know following.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Runge Kutta Methods 的更多信息

Community Treasure Hunt

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

Start Hunting!