PDA

查看完整版本 : [MATLAB基础] Logistic方程作图的问题


mikko37
2010-05-07, 10:01
Logistic方程,想作图了解系统的性态;这样的图该怎么作,要注意些什么,求教了。

laosam280
2010-05-08, 16:43
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.