登录
首页 » matlab » fractal-use

fractal-use

于 2013-03-02 发布 文件大小:43KB
0 213
下载积分: 1 下载次数: 4

代码说明:

  分形的练习一 ①Koch曲线 用复数的方法来迭代Koch曲线 clear i 防止i被重新赋值 A=[0 1] 初始A是连接(0,0)与(1,0)的线段 t=exp(i*pi/3) n=2 n是迭代次数 for j=0:n A=A/3 a=ones(1,2*4^j) A=[A (t*A+a/3) (A/t+(1/2+sqrt(3)/6*i)*a) A+2/3*a] end plot(real(A),imag(A)) axis([0 1 -0.1 0.8]) ②Sierpinski三角形 A=[0 1 0.5 0 0 1] 初始化A n=3 迭代次数 for i=1:n A=A/2 b=zeros(1,3^i) c=ones(1,3^i)/2 A=[A A+[c b] A+[c/2 c]] end for i=1:3^n patch(A(1,3*i-2:3*i),A(2,3*i-2:3*i), b ) patch填充函数 end (Fractal Exercise One The ① Koch curve Plural iteration Koch curve clear i to prevent i is reassigned A = [0 1] initial A is a connection (0,0) and (1,0) of the segments t = exp (i* pi/3) n = 2 n is the number of iterations for j = 0: n A = A/3 a = ones (1,2* 4 ^ j) A = [A (t* A+ a/3) (A/t+ (1/2+ sqrt (3)/6* i)* a) A+2/3* a] end plot (real (A), imag (A)) axis ([0 1-0.1 0.8])   ② Sierpinski triangle A = [0 1 0.5 0 0 1] initialized A n = 3 the number of iterations. for i = 1: n A = A/2 b = zeros (1,3 ^ i) c = ones (1,3 ^ i)/2 A = [A A+ [c b] A+ [c/2 c]] end for i = 1:3 ^ n patch (A (1,3* i-2: 3* i), A (2,3* i-2: 3* i), b ) patch filled function end)

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

发表评论

0 个回复

  • zft
    直方图均衡化,数字图像处理,简单matlab函数(Histogram equalization, digital image processing, a simple matlab function)
    2010-06-07 21:01:02下载
    积分:1
  • nmftoobox
    该源码工具包能实现矩阵的NMF分解,即矩阵的非负分解,能够用于图形的处理(This code can be used to realize NMF facterization of matrix)
    2010-05-19 17:58:54下载
    积分:1
  • am
    说明:  am modulation in matlab
    2009-07-10 16:00:15下载
    积分:1
  • RayleighFadingsimulationandDSPrealization
    介绍了一种构建在定点DSP上的高速瑞利衰落信道仿真模型。通过应用确知性瑞利过程的理论,使得仅需要较少的低频正弦波分量以及简单的运算即可实现较高精度的信道建模;进而可采用查表法并结合TMS320C6202定点数字信号处理器的高并行性和处理能力构造高速的仿真模型(Construction of a fixed-point DSP in the high-speed Rayleigh fading channel simulation model. Through the application process unascertained Rayleigh theory, only need to make small low-frequency sine wave components and the simple operation can achieve higher accuracy Channel modeling; then use look-up table method and combination TMS320C6202 fixed-point digital signal processor parallel and can handle Construction of the high-speed simulation model)
    2006-10-17 22:10:30下载
    积分:1
  • SMI
    SMI算法的MATLAB仿真,可用于智能天线(MATLAB simulation SMI algorithm can be used for smart antenna)
    2014-11-20 13:36:30下载
    积分:1
  • new
    pmsm矢量控制,可以使用的。 能够在这个平台上面继续进行仿真(PMSM vector control, can be used. Be able to continue on this platform above simulation)
    2012-09-19 12:59:36下载
    积分:1
  • wimaxmimo
    multiple in m out in wimax
    2009-06-14 00:28:47下载
    积分:1
  • Robust-control
    锅炉燃烧系统的鲁棒控制研究。用H求解PID控制器。(Robust Control of the boiler combustion system. H Solving PID controller.)
    2013-04-26 14:26:27下载
    积分:1
  • 1
    说明:  yYyong用matlab对数据的处理程序设计,极大多数的在一起。(jdfdshfsdfhsd)
    2010-07-21 11:28:21下载
    积分:1
  • psn_matlab
    matlab code for 2d poissone equ solver
    2010-05-11 15:57:52下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载