Code covered by the BSD License  

Highlights from
Chaotic Generators Demo

image thumbnail
from Chaotic Generators Demo by Bogdan Cristea
With chaotic generators demo various types of chaotic generators can be studied.

dy=Lorenz(t,y,flag,rParam)
function dy=Lorenz(t,y,flag,rParam)
%Lorenz system

%parameters
sigma=rParam;%10
rho=28;
beta=8/3;

%initialisation
dy=zeros(3,1);

%ODE
dy(1)=sigma*(y(2)-y(1));
dy(2)=rho*y(1)-y(2)-y(1)*y(3);
dy(3)=y(1)*y(2)-beta*y(3);      
   

Contact us at files@mathworks.com