-
yue
潮流计算程序,本程序是基于牛顿拉夫逊算法的潮流计算子程序(powerload)
- 2010-05-20 10:35:10下载
- 积分: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
-
DYDt3
一个解算实例。以较高的精度求解卫星经过近地点和远地点的时间。(an example. A higher accuracy solution through satellite perigee and apogee of time.)
- 2005-08-02 15:26:47下载
- 积分:1
-
Matlab-code
Matlab混合编程编程,很好的学习混合编程的资料(Matlab code)
- 2011-12-05 19:13:22下载
- 积分:1
-
matlab
图像灰度化处理源代码,有详尽的注释,有matlab基础的同志可以看得懂的。(Grayhound processing source code, detailed notes, matlab based comrades can understand.)
- 2013-03-01 23:14:59下载
- 积分:1
-
pwmzhengliuIControl
pwm整流器的MATLAB仿真程序,都正确。(MATLAB PWM conventer)
- 2011-11-04 21:43:50下载
- 积分:1
-
IEEE_9bus
ieee 9-bus system test network implemented in simulink matlab
- 2016-09-12 18:06:56下载
- 积分:1
-
Generation-of-artificial-seismic-waves
生成人工地震波,主要用于ANSYS等软件中需要输入人工地震波以便于研究(Generation of artificial seismic waves)
- 2010-01-08 15:44:30下载
- 积分:1
-
KNN
matlab code for PDF estimation by KNN method for 1 dimensional and 2 dimensional data
- 2010-01-13 15:44:54下载
- 积分:1
-
aeroblk6dofbody
航空飞行器6自由度动力学模型,用于飞行力学和飞机控制仿真(Aviation aircraft 6 DOF dynamics model for flight mechanics and aircraft control simulation)
- 2013-07-18 15:42:46下载
- 积分:1