-
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
-
UPCAA-Face-Res
用matlab实现的pca算法,用于将维,适用于各种种试验,如人脸识别程序源码
(Achieved using matlab pca algorithm for peacekeeping, applicable to various types of tests, such as face recognition program source code)
- 2012-10-07 00:27:39下载
- 积分:1
-
sparsemang1
稀疏分析用于处理欠定盲源分离问题,有英文注释(Sparse analysis dealing with underdetermined blind source separation, English Notes)
- 2013-04-22 16:33:56下载
- 积分:1
-
interest-points
基于兴趣点颜色及纹理特征的图像检索算法,通过同类比较,平均检索准确率提高11个百分点。(Based on the interest points and texture features of color image retrieval algorithm, through a similar comparison, the average retrieval accuracy rate of 11 percent improve.)
- 2009-03-05 11:09:25下载
- 积分:1
-
incremental.tar
Incremental and decremental support vector machine learning
Matlab code
- 2011-01-03 14:22:03下载
- 积分:1
-
matlab 仿真领航跟随编队
matlab 仿真领航跟随编队, 仿真领航跟随编队( 仿真领航跟随编队)
- 2021-03-06 18:09:30下载
- 积分:1
-
mnyz
一杯沸水冷却,圆柱体模型,底面半径0.05m,高0.1m,周围温度20度,初始水温100度
方程是四维输运方程(常数a^2=k/(c*p),k是热传导系数0.6006焦/(米*秒*度))
初始条件:t=0时水等于100度
边界条件:1.上下壁都是自由冷却,第三类边界条件,周围温度保持在20度(H=k/h,h取1)
2.杯壁绝热,第二类边界条件
图形显示格式,取过圆柱轴的截面温度变化将其做成动画.
(A cup of boiling water for cooling, the cylinder model, the bottom radius of 0.05m, the high-0.1m, an ambient temperature of 20 degrees, the initial water temperature of 100 degrees is four-dimensional transport equation equation (constant a ^ 2 = k/(c* p), k is the thermal conductivity coefficient of 0.6006 J/(m* s* degrees)) initial conditions: t = 0 when the water equivalent to 100 degrees boundary conditions: 1. up and down the wall are free cooling, the third boundary condition, the ambient temperature maintained at 20 degrees (H = k/h, h check one) 2.杯壁insulation, the second boundary condition graphical display format, check-off section of cylindrical shaft temperature change to make animation.)
- 2007-11-06 20:57:53下载
- 积分:1
-
show
Displays an image with the right size and colors and with a title
- 2010-08-05 23:05:19下载
- 积分:1
-
lm3
复正弦的WVD;多个首尾相连的复正弦的WVD 一个实正弦的WVD(Complex sine the WVD both linked to a number of complex sinusoidal WVD of a real sinusoid of the WVD)
- 2007-12-12 09:50:19下载
- 积分:1
-
Matlab-Newton-Interpolation-Code
这个matlab程序实现了牛顿插值 (Newton s Interpolation )算法(The matlab program Interpolation Newton (Newton s Interpolation) algorithm)
- 2008-06-16 10:40:22下载
- 积分:1