-
s_aloha
Aloha implementation in matlab
- 2011-05-31 22:00:00下载
- 积分:1
-
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
-
dim_reduction
matlab dim_reduction 包括 dijkstraKDAKGELPPKLPPKPCASDA等(matlab dim_reduction includingdijkstraKDAKGELPPKLPPKPCASDA etc.)
- 2013-05-14 19:26:36下载
- 积分:1
-
Matlab1
Matlab code which can be used for watermarking by using wavelat
- 2011-10-06 10:28:41下载
- 积分:1
-
agg_np48
pst power system toolbox
- 2013-11-12 07:28:02下载
- 积分:1
-
rect1
数学建模中国人口结构预测模型递推公式Matlab源程序(Mathematical modeling of China' s population structure prediction model recursive formula Matlab source)
- 2013-05-10 23:08:24下载
- 积分:1
-
PSO
粒子群算法,思路清晰,有详细的解释,便于理解(Particle swarm optimization, clear thinking, there is a detailed explanation, easy to understand)
- 2014-01-15 09:43:25下载
- 积分:1
-
vmd
说明: VMD是通过迭代搜寻变分模型(具体怎么搜寻,请亲们自己看,我主要讲他的大概)最优解, 来确定我们所知的模态uk(t)及其对应的中心频率ωk和带宽。
每个模态都是具有中心频率的有限带宽(就是在频域中有在一定的宽度)。所有模态之和为源信号。(VMD is to determine the modal UK (t) and its corresponding central frequency, k and bandwidth by iteratively searching for the optimal solution of the variational model (see dear friends for details, and I will mainly talk about his approximate solution).
Each mode is a finite bandwidth with a central frequency (that is, a certain width in the frequency domain).The sum of all modes is the source signal.)
- 2020-05-22 17:09:22下载
- 积分:1
-
chap_4
matlab从入门到精通第4章书后源码对初学者很有帮助(matlab)
- 2009-03-19 06:09:48下载
- 积分:1
-
15-M421P
dynamic voltage restorer article 5
- 2010-11-03 01:08:53下载
- 积分:1