image thumbnail

A toolbox for finding horseshoes in 2D maps

by

 

24 Feb 2007 (Updated )

This GUI programe presents an efficient method for finding topological horseshoes in chaotic systems

[Xr,varargout]=rtmapBC2(varargin)
function [Xr,varargout]=rtmapBC2(varargin)
% u=4;v=0.375;a=1.000;w=50;fai=54.927;
u=0;v=0.375;a=1.000;w=50;fai=54.927;
if nargin==1
    X0=varargin{1};
else
    X0=[0.1;0.5];
end
x=X0(2);Fai=X0(1);
Faib=Fai+fai-w*log(abs(x));
Xr=[
    -0.5*pi+sign(x)*(0.5*pi+a*abs(x)^v*cos(Faib));
    u*sign(x)-a*abs(x)^v*sin(Faib);
    ];
if nargout>1
    varargout{1}=1;
    varargout{2}=Xr;
end
end

Contact us