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.

fx=PWAMmap4(x,rParam)
function fx=PWAMmap4(x,rParam)
%rParam=2.1 for chaos
%x0=0.4

%parameters
B=rParam;
D=1;

if abs(x)<=D
   fx=-B*x+B*D*sign(x);
else
   fx=B*x-2*B*D*sign(x);
end

Contact us at files@mathworks.com