混沌映射(序列)matlab算法“小全”:Logistic、Henon、帐篷、kent(含混沌二值图像生成函数)1.Logistic(罗切斯特)映射变换核:xn+1=axn(1xn)绘图程序:n=64;key=0.512;an=linspace(3.1,3.99,400);holdon;boxon;axis(min(an),max(an),-1,2);N=n2;xn=zeros(1,N);for a=an;x=key;for k=1:20;x=a*x*(1-x);%产生公式end;for k=1:N;x=a*x*(1-x);xn(k)=x;b(k,1)=x;%一维矩阵记录迭代结果end;plot(a*ones(1,N),xn,k.,markersize,1);end;%figure;%imhist(b)实用混沌加密函数:functionichao_ans=ichaos_logistic(varargin)%logistic序列生成算法%函数名:%log