主题: [MATLAB基础] Logistic方程作图的问题
查看单个帖子
旧 2010-05-08, 16:43   #2
laosam280
高级会员
 
注册日期: 2008-11-07
住址: 湖南长沙
帖子: 233
声望力: 21
laosam280 正向着好的方向发展
默认 回复: Logistic方程作图的问题

x=0.1; % initial value
for lamda=1:0.01:4
for m=1:20
y=lamda*x*(1-x);
x=y;
if m>10
plot(lamda,y);
hold on;
end
end
end

Ps: you can change the initial value to see whether there are some differences. First you will see period doubling bifurcation, then a special period three orbit, and the system
becomes chaos eventually.
__________________
坚持就是胜利,努力就有奇迹。
laosam280 当前离线   回复时引用此帖