-
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
-
syms-t
对原始信号的2FSk的,调制,采用相干解调(2 FSk signal to the original, modulation, the coherent demodulation)
- 2011-12-30 22:19:12下载
- 积分:1
-
LP02
利用模式理论,对给定几何尺寸以及折射率分布的光纤进行模式求解与绘图,该程序给出LP02模的求解与绘图。(the LP02 mode of the fiber)
- 2013-09-24 21:20:42下载
- 积分:1
-
whmt1_0
隐马尔科夫树模型,这是一个自包含的程序包,包括2维离散小波变换和逆小波变换
例程。在每个子带中每个刻度的所有小波系数都绑在一起,避免了模型的过度拟合。(This is a self-contained package including the 2-D DWT and inverse DWT
routines. All wavelet coefficients at each scale within each subband are tied together to avoid overfitting of the model.
)
- 2014-11-05 14:32:38下载
- 积分:1
-
matlabsingal
matlab有关信号处理方面的资料,可作为相关人员的参考资料,对信号处理方面有一定的帮助(matlab signal processing, can be used as a reference personnel, signal processing help)
- 2012-10-28 22:40:53下载
- 积分:1
-
creaseg.tar
水平集分割图像,有好几个水平集的算法,国外的学者写的,有文章介绍用法水平集分割图像,有好几个水平集的算法,国外的学者写的,有文章介绍用法(Level set segmentation image, there are several level set algorithm, written by foreign scholars, an article describes usageLevel set segmentation image, there are several level set algorithm, written by foreign scholars, an article describes usage)
- 2010-08-14 15:11:50下载
- 积分:1
-
my-code
利用伯德图来证明DC-8飞机,在0.84Mach和10000m高空的俯仰运动稳定性。( This example is to demonstrate pitch motion tracking control by using
Bode diagram with elevator inputs for the DC-8 at 0.84Mach and 10000m
)
- 2013-12-24 15:22:30下载
- 积分:1
-
image-process-based-on-matlab
主要用于基于matlab的图像处理,如图像增强、边缘检测、图像变换等(Mainly used for based on the matlab image processing, such as image enhancement, edge detection, and the image transformation, etc)
- 2012-04-11 19:08:50下载
- 积分:1
-
SCaTDE
自己编写的一个单载波时域均衡的程序,采用的是线性MMSE均衡算法(When I have written a single carrier domain equalization program, using the linear MMSE equalization algorithm)
- 2014-02-24 15:50:30下载
- 积分:1
-
SolveStOMP
经典的压缩感知cs重构算法之一分级omp(The classic one compressed sensing reconstruction algorithm cs cs omp)
- 2010-06-07 17:28:17下载
- 积分:1