-
readmat
说明: VC6.0 读写matlab7.0的mat文件.分享此段代码,运行成功。(read the mat file of the matlab7.0,under the vc6.0)
- 2009-08-11 10:58:36下载
- 积分: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
-
Compar_fuzzy_kalman_D
comparison of disturbance included fuzzy and kalman
- 2012-09-26 19:08:23下载
- 积分:1
-
dynamic-programming
此文档介绍了Matlab软件中使用的一种实用算法--动态规划。(This document describes a practical algorithm- dynamic programming Matlab software.)
- 2013-05-14 23:44:43下载
- 积分:1
-
bianma
包含了常用的信道编码方式,清晰展现了编码、解码的过程(A display of commom coding and encoding mathods)
- 2010-09-14 22:53:49下载
- 积分:1
-
999999999999999999999
files is used to perform
- 2010-10-23 03:55:51下载
- 积分:1
-
CR_pm
认知无线电功率控制算法中各认知用户最小发射功率的计算(Calculation of each cognitive user minimum transmit power in cognitive radio power control algorithm)
- 2012-05-04 11:06:21下载
- 积分:1
-
NS
说明: 交通流仿真,元胞自动机的NS模型源码,能用,嘿嘿,欢迎交通(Traffic flow simulation, cellular automaton model of the NS source code, can, hey, welcome to traffic)
- 2011-06-30 17:03:38下载
- 积分:1
-
PCMPDM
脉冲编码调制系统和增量调制系统的MATLAB源程序(Pulse code modulation system and delta modulation system MATLAB)
- 2013-09-27 09:11:25下载
- 积分:1
-
Fig7x28
基于Matlab/Simulink的异步电动机转差频率矢量控制系统仿真研究,十分有用,已通过测试(Based on Matlab/Simulink of the induction motor slip frequency vector control system simulation, very useful, has been tested)
- 2011-05-09 18:29:11下载
- 积分:1