-
fractal-use
分形的练习一
①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)
- 2013-03-02 10:03:09下载
- 积分:1
-
vc_matlab-engine
自己编写的vc调用matlab程序,可以再vc的环境下实现matlab窗口显示图像,对初学者很有用(I have written matlab program called vc, vc environment can be achieved matlab window display images, useful for beginners)
- 2011-10-12 19:33:39下载
- 积分:1
-
pn-fuzzy-in-biometric
this file is about fuzzy logic system
- 2013-11-02 19:10:06下载
- 积分:1
-
Matlab2012
关于Matlab2012经典超强教程,很实用,适合初学者(About Matlab2012 classic super tutorial, very practical, suitable for beginners)
- 2015-02-14 17:15:30下载
- 积分:1
-
2
说明: new symbol timing synchronization method for OFDM based WLANs
- 2009-06-01 19:26:06下载
- 积分:1
-
MM1-MMm-mMM1
MM1 que implementation in matlab
- 2011-05-31 21:57:21下载
- 积分:1
-
sys
地震合成记录,通过褶积模型,利用子波和反射系数求出了自激自收情况下的波形。(synthetic seismogram)
- 2011-12-06 16:34:27下载
- 积分:1
-
Adaptive--algorithms-analynis
比较了几种自适应算法用于信道均衡的性能,包括LMS、NLMS、RLS等。包含仿真代码和理论的结果分析,以及自适应滤波理论的课件。(Compare the performance of several adaptive algorithm for channel equalization, including LMS, NLMS, RLS and so on. These results include simulation code and theoretical analysis, and courseware adaptive filtering theory.)
- 2015-06-24 19:21:20下载
- 积分:1
-
exp2.slx
MGT-CCHP 微型燃气轮机联供系统解耦PID控制,用simulink进行仿真(MGT- CCHP micro gas turbine installations, decoupling PID control system, using simulink simulation)
- 2021-04-08 16:49:01下载
- 积分:1
-
articulation_index
Estimates the articulation index, AI, based
on the paper by French and Steinberg (1946).All inputs
- 2010-06-03 10:42:39下载
- 积分:1