登录
首页 » matlab » fractal

fractal

于 2013-03-02 发布 文件大小:2KB
0 282
下载积分: 1 下载次数: 12

代码说明:

  matlab程序画图,常见分形图,function cantor(A,B) c=1 p=0 figure hold on plot([A(2) B(2)],[A(1) B(1)], r* ) while norm(A(1,:)-B(1,:))>=1 C=[] D=[] for i=1:size(A,1) a=A(i,:)+(B(i,:)-A(i,:))/3 b=A(i,:)+2*(B(i,:)-A(i,:))/3 C=[C A(i,:) b] D=[D a B(i,:)] end A=C B=D p=p+1 (matlab program drawing, common fractal images function cantor(A,B) c=1 p=0 figure hold on plot([A(2) B(2)],[A(1) B(1)], r* ) while norm(A(1,:)-B(1,:))>=1 C=[] D=[] for i=1:size(A,1) a=A(i,:)+(B(i,:)-A(i,:))/3 b=A(i,:)+2*(B(i,:)-A(i,:))/3 C=[C A(i,:) b] D=[D a B(i,:)] end A=C B=D p=p+1 )

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • ChineseRadarsExamples
    Chinese Radars Examples Type and Functionality
    2010-01-07 17:58:42下载
    积分:1
  • DKB_FOC
    PID generator controler
    2012-10-19 00:58:11下载
    积分:1
  • smooth2
    Low pass filter in order to detect edge
    2020-08-23 14:07:52下载
    积分:1
  • distribution
    本程序计算金属包覆平板波导TE模等效折射率,然后计算其光场分布(This program calculates metal-coated plate waveguide TE-mode effective refractive index, and then calculate the optical field distribution)
    2009-11-05 23:57:57下载
    积分:1
  • FSK
    simulink model for FSK
    2011-07-05 12:24:18下载
    积分:1
  • Speed.mat
    速度数据文件,用于Matlab对于简单数据表格的测试和练习(Speed Description to exam and exercise)
    2014-09-12 07:51:38下载
    积分:1
  • spectrum-allocation-algorithm
    本文详细介绍了最大独立集的频谱分配算法,如果不考虑认知用户之间的干扰关系以及频谱的效益,本文值得读者借鉴(This paper describes the spectrum allocation algorithm for maximum independent set, if you do not consider the relationship between cognitive interference between users and spectrum efficiency, this article is worth the reader learn)
    2015-12-06 10:06:31下载
    积分:1
  • multi_robot_navigation-ACO-master
    针对机器人使用蚁群算法,在动态环境下完成路径规划!(For robot use ant colony algorithm, in the dynamic environment to complete path planning.)
    2018-10-22 11:29:49下载
    积分:1
  • wienerfilter
    维纳滤波器的MATLAB源程序,处理高斯白噪声,对一维数据进行滤波。(Wiener filter MATLAB source, dealing with gaussian white noise, the one dimensional data filtering. )
    2016-01-23 12:22:59下载
    积分:1
  • Arithmetic
    matlab程序,包括kruskal算法和kijkstra算法的程序 ()
    2007-09-04 09:25:18下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载