Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
|
![]() |
#1 |
初级会员
注册日期: 2010-05-07
年龄: 37
帖子: 1
声望力: 0 ![]() |
![]()
Logistic方程,想作图了解系统的性态;这样的图该怎么作,要注意些什么,求教了。
|
![]() |
![]() |
![]() |
#2 |
高级会员
注册日期: 2008-11-07
住址: 湖南长沙
帖子: 233
声望力: 21 ![]() |
![]()
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.
__________________
坚持就是胜利,努力就有奇迹。 |
![]() |
![]() |