• Remix
  • Share
  • New Entry

on 14 Oct 2021
  • 3
  • 56
  • 0
  • 0
  • 279
%% HADLEY ACTTRACTOR
t = 0:5e-5:25;
%% solving chaotic dynamics
[~,y]=ode15s(@f,t,[.1 0 0]);
y=y/2e2;
%% plotting magic ;)
text(.55,.78,.4,'🗣️','fontsi',320,'color','w'); hold;
Current plot held
plot3(y(:,1),y(:,2),y(:,3),'k','linew',3)
set([gcf,gca],'Color','k');
axis equal off;
view(300,-20);
%% ordinary differential equation
function w=f(t,X)
x=X(1);
y=X(2);
z=X(3);
w=[40*(y-x)+x*z/2; 20*y-x*z;.833*z+x*y-.65*x*x];
end
%% References:
% [1] Istvan. Strange Attractors visualisation of chaotic equation.
% url = https://chaoticatmospheres.com/mathrules-strange-attractors
% (Accessed on October 11, 2021).
Remix Tree