a=0.2; b=0.2; c=5; % 2.5 (small period limit cycle), 5 (chaos) dt=0.01; N=200; l=1e-1; t0=100; if(c>4.3) t0=1*t0; end % Define an array of points to serve as initial conditions X=linspace(0,l,N); Y=0*X; Z=0*X; clf drawnow; kx=zeros(4,1); ky=zeros(4,1); kz=zeros(4,1); psx=zeros(0); psz=zeros(0); XX=[]; YY=[]; ZZ=[]; % Integrate forward in time n=0; t=0; while(t