• Remix
  • Share
  • New Entry

on 20 Oct 2021
  • 9
  • 17
  • 2
  • 0
  • 261
%%Rossler Attractor
T = 100;
t = 0:5e-4:T;
%% solving chaotic dynamics
[~,y]=ode15s(@f,t,[.1 -.2 0]); %Init
% Plotting
%figure('Color','k')
set([gcf,gca],'Color','k');
colormap(jet(64));
shading interp
patch(y(:,1),2*y(:,2),y(:,3),t,'EdgeC',[.7 .7 .7],LineW=3);
view(40,20) %16th note
%% odinary differential-Chua
function S=f(t,X)
x = X(1);
y = X(2);
z = X(3);
a=.2; b=.2; c=5.7;
S = [-(y+z);
x+a*y; %x+a*y
b+z*(x-c)];
end
Remix Tree