-
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
-
QMF
quadrature mirror filter bank implementation
- 2010-06-24 17:04:18下载
- 积分:1
-
yibudianjishiliangkongzhi
异步电机矢量控制,有说明可以,照着做就可以了。有助于学习矢量控制。(Induction motor vector control, described could照着做it. Vector control contribute to learning.)
- 2021-01-22 19:38:45下载
- 积分:1
-
sobel
用matlabe对于sobel算子,进行模式实现,能取得明显的边缘检测效果!(Matlabe for using sobel operator, to carry out mode, can achieve a clear effect of edge detection!)
- 2007-08-27 15:55:12下载
- 积分:1
-
RLS程序
运行结果良好的三个RLS算法,供大家参考使用(good operating results in three RLS algorithm, for reference use)
- 2005-08-01 15:51:29下载
- 积分:1
-
fenshuwei
A program that can easily caculate the fractal dimension. You need only input the parameter and then push the button.(A program that can easily caculate the frac tal dimension. You need only input the paramete r and then push the button.)
- 2007-03-21 15:21:05下载
- 积分:1
-
wine_Gauss-
采用高斯核的多类分类,以wine数据位例,进行编程(the classification using gauss kernal)
- 2013-09-12 14:26:56下载
- 积分:1
-
simple
Bloc ce reda evoluta principalilor parametrii, atunci cand nu avem nici comanda de la pilot si nici reactie negativa super super
- 2011-11-14 01:48:01下载
- 积分:1
-
electronic_crossover
calculates the simulink labs and implemented in simulink matlab environment
- 2009-06-03 17:33:43下载
- 积分:1
-
SPIDER
SPIDER是测量超短脉冲的一种有效方法,该程序给出了基于Matlab的SPIDER代码,它可以直接运行。(SPIDER is one of the effective approaches to measure the pluse durantion.This program is the code of SPIDER based on Matlab.It can easily be ulited.)
- 2021-03-21 17:19:17下载
- 积分:1