% 倍周期现象,混沌的遍历性。1975年,斯坦福大学Feigenbaum教授
figure
axis([2.7,4,0,1])
grid
hold on
for r = 2.7:0.005:3.9
x = 0.1
for i =2:200
x(i) = r *x(i-1) *(1-x(i-1))
end
pause(0.1)
for i=151:200
plot(r,x(i),'k.')
end
end
clearclfhold onaxis([0,3,-3,3])grid
for a=0:0.005:3 x=[0.1]for i=2:150
x(i)=a*sin(pi*x(i-1))end pause(0.1) for i=101:150
plot(a,x(i),'k.')end end
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)