%% 产生混沌序列
x0 = 0.2983;
len = 1000;
squence = zeros(1,len);
xn = x0;
for i=1:len
xn = 4*xn*(1-xn);
squence(i) = xn;
end
%% 绘制混沌气泡图
y = linspace(1,len,len);
x = squence;
sz = linspace(50,200,length(x));
c = linspace(0,1,length(x));
scatter(x,y,sz,c,'filled');
|
请发表评论