-
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
-
INS-solver
由惯性器件的输出解算出飞行器的位置、速度、姿态信息(The output from the inertial device solves for the aircraft position, speed, attitude information)
- 2013-09-02 19:23:52下载
- 积分:1
-
CIMET
biologie redeta fishing
- 2010-08-02 01:02:17下载
- 积分:1
-
DOA_music
使用MATLAB软件对智能天线进行DOA估计的MUSIC算法仿真研究,希望对大家学习有帮助(Using MATLAB software on smart antennas for DOA Estimation Algorithm for Simulation of MUSIC, in the hope that will help them to learn)
- 2009-07-02 16:10:12下载
- 积分:1
-
MultipathandDopplerEffectsandModels
一份英文的讲义,讲述了在多径条件下多普勒频移对无线通信的影响。并对各种条件用MATLAB进行了仿真。(An English lecture, described the conditions in the multi-path Doppler frequency shift of the impact of wireless communications. Various conditions and conducted a simulation using MATLAB.)
- 2008-04-04 10:38:38下载
- 积分:1
-
radar
为配合新一代天气雷达应用与开发的需要,现将新一代天气雷达(CINRAD/SA、CINRAD/SC、CINRAD/SB、CINRAD/CB、CINRAD/CC、CINRAD/CD的原始数据格式和拟采用的统一数据格式以及读取程序挂在网上,供大家下载(read Doppler radar data, the process of the SA-Doppler weather radar on the original scan data processing)
- 2012-08-02 09:05:01下载
- 积分:1
-
VideoSudokuSolver
应用matlab的图像处理工具,使用摄像头实时解密数独的程序(The video sudoku solver)
- 2013-11-22 17:20:05下载
- 积分:1
-
3.20 基于Hough变换的人眼虹膜定位方法
基于Hough变换的人眼虹膜定位方法 MATLAB程序(A Method of Iris Location for Human Eye Based on Hough Transform and MATLAB Program)
- 2019-06-07 15:49:16下载
- 积分:1
-
gaosi
说明: 对原始图像添加高斯噪声,并用邻域平均和中值滤波法进行滤波,并可以进行对比。(Gaussian noise added to the original image, and use neighborhood average and median filtering method for filtering, and can be compared.)
- 2011-02-21 13:18:13下载
- 积分:1
-
kstest-testing
如何检测数据是否服从正态分布,kstest检测。(How to detect whether the data follow a normal distribution, kstest testing.)
- 2014-09-29 14:22:16下载
- 积分:1