-
decim.m
Matlab function o decimate an image
- 2009-09-18 22:24:27下载
- 积分:1
-
Transform-adjacent-matrix
Matlab 读取txt中的network data并转化为邻接矩阵(Matlab read txt the network data and converted into an adjacency matrix)
- 2021-02-06 08:59:57下载
- 积分: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
-
UFVM
with this code it could drwa evrythings about modal parametrs of structures and otherthings
- 2015-02-11 19:28:33下载
- 积分:1
-
onedimensionfdtd
This zip-file contains 7 codes which implement the 1 dimension programs from Sullivan´ s book for beginners, with some corrections.
- 2010-09-23 23:49:55下载
- 积分:1
-
opticallinkprgm
simulation of optic fiber link budget analysis is to feed input as attenuation loss, connection loss , system margin, transmitted power and length of the fiber
- 2014-02-10 17:10:13下载
- 积分:1
-
qudongqiaosheji
基于matlab/gui 驱动桥设计——只包含了简单的驱动桥设计(matlab/gui drive axle design)
- 2014-02-18 14:14:33下载
- 积分:1
-
viterbi_tmpl
Viterbi algorythm implement for matlab simulink
- 2010-06-10 08:35:02下载
- 积分:1
-
heart500
基于mit数据库的时域心率算法,阈值自动更新,心率自动计算。(Mit database based on time-domain heart rate algorithm, the threshold value is automatically updated, heart rate calculated automatically.)
- 2013-09-21 21:03:49下载
- 积分:1
-
matlfab1
PV Array very goog in usw
- 2013-12-09 23:08:46下载
- 积分:1