声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 3839|回复: 4

[分形与混沌] 【求助】求feigenbaum常数的MATLAB计算程序

[复制链接]
发表于 2010-6-14 19:10 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
请问哪位大哥有feigenbaum常数计算的MATLAB程序,有的能否传一份给小弟,谢谢啦,我的邮箱:haiming9060@126.com

[ 本帖最后由 海上飞鱼 于 2010-6-14 23:17 编辑 ]

评分

1

查看全部评分

回复
分享到:

使用道具 举报

发表于 2010-6-16 11:43 | 显示全部楼层
feigenbaum常数的计算,是很麻烦的。根据郑伟谋、郝柏林《实用符号动力学》一书,feigenbaum常数的精确值,是采取逼近方法计算的。即先要将各个倍周期分岔点算出来,然后计算相邻分岔点差的绝对值的商a;当计算到n=2^20分岔时,a就非常接近feigenbaum常数了。
 楼主| 发表于 2010-6-16 12:15 | 显示全部楼层

回复 沙发 tangyz_hust 的帖子

嗯,但是计算各分岔点就非常困难!况且编程不好编!
发表于 2014-4-14 09:12 | 显示全部楼层
的确是不好计算分岔值~~网上搜程序搜不到啊
发表于 2014-4-16 09:51 | 显示全部楼层
下面的程序应该可以参考一下

  1. function feigenbaum
  2. % feigenbaum.m
  3. % Jeremie Korta
  4. % December 1, 2003
  5. % The following program will compute the Feigenbaum ratio using parameter
  6. % values r(n) at superstable fixed points of f^(2^n).  As a check, the
  7. % program can be used to estimate the same ratio using period doubling
  8. % cascade from 3-cycle, which is superstable at r = 1.7549... taking the
  9. % unimodular map to be r-x^2.

  10. clear n r R c;
  11. global n q c

  12. max=10;   
  13. q = 2; % if you want to find the Feigenbaum ratio for higher order maxima
  14. % change this parameter (the 3-cycle will no longer be stable at the same r!)

  15. % Known superstable r for 1 and 2-cycles for any q.
  16. c = 0; % signifies we're searching from 2-cycle
  17. r(1)=0;   % for 1-cycle to be superstable, r = 0
  18. r(2)=1;  % for 2-cycle, r = 1.

  19. % We can also calculate the Feigenbaum ratio at the 3-cycle
  20. % period-doubling cascade (for q=2).  Hopefully, it's still 4.6692... !
  21. %c = 1; % signifies we're searching from 3-cycle
  22. %r(1) = 1.7549;  % superstable 3-cycle occurs at r = 1.7549...
  23.          
  24. for i=2:max
  25.     n=i-1;
  26.     del=10^(-n-c); % smaller for 3-cycle window
  27.     next=r(i-1)+del;
  28.     prev_sign=sign(func(next));
  29.     while (sign(func(next))==prev_sign)
  30.        next=next+del;
  31.     end

  32.     r(i)=fzero(@func, [r(i-1)+10^(-n-1-c), next]);

  33. end

  34. for j=1:(max-2)
  35.     R(j)=(r(j)-r(j+1))/(r(j+1)-r(j+2));
  36. end

  37. fprintf('\n Best estimate of Feigenbaum ratio = %1.6f', R(max-2))




  38. % File: func.m
  39. %
  40. % func returns the f^(2^n) map of 0 where f = r-x^(2q) q=1,2,3... if
  41. % c = 0, or the f^(3*2^n) map of 0 if c = 1.  The zero of this function
  42. % occurs at the superstable value r(n).

  43. function x=func(r)
  44.    
  45. global n q c
  46. x=0;
  47. for i=1:((c > 0)*2+1)*2^n
  48.     x = r - x^q;
  49. end
复制代码
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-9-30 03:32 , Processed in 0.082140 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表