登录
首页 » matlab » fractal

fractal

于 2013-03-02 发布 文件大小:2KB
0 298
下载积分: 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 个回复

  • xiaobojiance
    这是MATLAB的一个源代码,是用于图象的边缘检测的.(This is a MATLAB source code for the image edge detection.)
    2007-04-11 20:39:34下载
    积分:1
  • matlab-function-Daquan
    matlab函数大全,几乎包含所有matlab函数。(matlab function Daquan, for almost all matlab functions.)
    2011-06-30 20:47:06下载
    积分:1
  • VC_and_MATLAB_Map1
    基于VC_和MATLAB混合编程绘制三维图形(VC_ and MATLAB mixed programming based on three-dimensional graphics rendering)
    2013-09-04 10:37:35下载
    积分:1
  • wsns-based-on-weighted-median
    传感器节点故障诊断,分布式WMFD故障诊断算法,基于相邻节点信息比较的诊断方法(Distributed sensor network fault detection based on weighted median )
    2021-03-11 14:09:25下载
    积分:1
  • DWHT_DCT
    对图像数据做DCT变换及DWHT变换的示例程序,在matlab7下运行正常(Done on the DCT transform of image data and transform DWHT example the procedures in the normal run matlab7)
    2009-06-08 18:17:18下载
    积分:1
  • mo6
    AN EXCELLENT SIMULINK MODEL OF DC MOTORS MODELLED USING OPERATIONAL PRINCIPLES OF DC MOTORS
    2010-05-27 01:26:54下载
    积分:1
  • multichainpegasis
    Maximizing the Lifetime of Multi-Chain PEGASIS Using Sink Mobility
    2014-08-25 18:24:29下载
    积分:1
  • Test3dplot
    matlab codes for econometrics
    2013-10-25 06:44:57下载
    积分:1
  • bp
    SAR成像的后向投影算法 matlab代码,直接使用,对散射数据成像 频域(back projection)
    2021-04-07 22:29:01下载
    积分:1
  • AHP-a-fuzzy-TOPSIS
    Select the access network in a heterogeneous environment by using AHP and fuzzy TOPSIS
    2015-02-03 00:33:33下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载