-
ga
说明: GA算法代码 function pop=initpop(popsize,chromlength)
pop=round(rand(popsize,chromlength))
rand 随机产生每个单元为 {0,1} 行数为 popsize,列数为 chromlength 的矩阵,
roud 对矩阵的每个单元进行圆整。这样产生的初始种群。
2.2 计算目标函数值
2.2.1 将二进制数转化为十进制数(1)
遗传算法子程序 Name: decodebinary.m
产生 [2^n 2^(n-1) ... 1] 的行向量,然后求和,将二进制转化为十进制(GA algorithm code function pop=initpop(popsize,chromlength)
pop=round(rand(popsize,chromlength))
rand 随机产生每个单元为 {0,1} 行数为 popsize,列数为 chromlength 的矩阵,
roud 对矩阵的每个单元进行圆整。这样产生的初始种群。
2.2 计算目标函数值
2.2.1 将二进制数转化为十进制数(1)
遗传算法子程序 Name: decodebinary.m
产生 [2^n 2^(n-1) ... 1] 的行向量,然后求和,将二进制转化为十进制)
- 2012-04-28 18:02:03下载
- 积分:1
-
edge-detecting-based-susan
这是基于susan算子的边缘检测代码,用于检测物体边缘。使用matlab实现。(susan detection foor edge)
- 2015-05-09 16:18:20下载
- 积分:1
-
MATLABTHEORY_ranjith
detail explanation of matlab
- 2011-01-02 22:09:43下载
- 积分:1
-
smith_pid
带有smith预估器的PID控制 matlab仿真程序(The smith predictor PID control matlab simulation program)
- 2013-05-11 12:45:51下载
- 积分:1
-
digitalsignalprocessing
胡广书《数字信号处理-理论,算法和实现》第二版光盘内容,覆盖所有章节课后习题内容(Hu Guang book " Digital Signal Processing- theory, algorithms and implementation," Second Edition CD-ROM content, covering all sections of the content of after-school exercise)
- 2010-05-20 10:20:43下载
- 积分:1
-
levelsetImage
这是一个利用水平集方法进行分割的方法,是目前使用越来越多的方法,并且有严格的数学依据(This is a level set method using segmentation method is currently used by more and more ways, and has a strict mathematical basis for)
- 2007-07-27 10:14:37下载
- 积分:1
-
schrodinger
schrodinger energy and wave solver
- 2009-12-14 05:08:13下载
- 积分:1
-
kmeans(chp2_2_2)
说明: kmeans 算法的实现,编译已经通过,希望对大家有帮助(kmeans algorithm, the compiler has been passed and we hope to help)
- 2008-12-06 15:47:09下载
- 积分:1
-
1-m
IT IS THE CODE OF DELAY WHICH IS DEVELOPED USING MATLAB SOFTWARE
- 2015-03-09 16:09:03下载
- 积分:1
-
CSharp
C# code for software engineer and student who want to learn
- 2014-01-02 21:01:08下载
- 积分:1