• Remix
  • Share
  • New Entry

on 20 Oct 2021
  • 6
  • 9
  • 3
  • 0
  • 280
close all
clear
%init[1 1 1]
% ''a'' is array containing x, y, and z variables
figure('Color','k')
T=100; %total time
sigma = 18.5; %10
beta = 8/3; %8/3
rho = 28; %28
f = @(t,a) [-sigma*a(1) + sigma*a(2); rho*a(1) - a(2) - a(1)*a(3); -beta*a(3) + a(1)*a(2)];
[t,a] = ode45(f,[0 T],[1 1 1]); % Runge-Kutta
%c=jet(128);
plot3(a(:,1),a(:,2),a(:,3),Color=[.9 .9 0],LineWidth=3)
colormap("spring")
view(55,66)
axis off
Remix Tree
Load full remix tree