登录
首页 » matlab » ga

ga

于 2012-04-28 发布 文件大小:2KB
0 81
下载积分: 1 下载次数: 1

代码说明:

说明:  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] 的行向量,然后求和,将二进制转化为十进制)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • reconstraction
    小波变换的重建,通过matlab内的小波包函数实现(The reconstruction of the wavelet transform, wavelet packet is realized by Matlab function)
    2014-04-28 22:30:45下载
    积分:1
  • shuxue_Matlab1
    今天上传《数学实验与Matlab》程序,希望对大家有用!(today uploaded "Matlab mathematical and experimental" procedures in the hope that it may be useful right! Thank you!)
    2007-05-21 15:21:34下载
    积分:1
  • ahlyaguinn
    neural network example
    2015-01-14 23:29:25下载
    积分:1
  • YUV_xishu
    用matlab读取YUV文件,DCT变换之后并存取其系数(Read YUV files with matlab, and after DCT transform and access its coefficients)
    2017-03-22 15:23:03下载
    积分:1
  • Digital_image_processing_and_realization_of_MATLAB
    数字图像处理及MATLAB实现(余成波)(Digital image processing and MATLAB to achieve (Yu Bo))
    2008-06-23 13:08:28下载
    积分:1
  • FullSearchfull
    说明:  本程序是用来进行运动估计的全搜索块匹配方法(This procedure is used for motion estimation of the full search block-matching method)
    2011-03-12 20:46:54下载
    积分:1
  • gpc5
    广义预测控制的学习ppt 预测控制的学习 模型算法 (gpc ppt)
    2013-04-15 08:17:20下载
    积分:1
  • Modern_Optical_Engineering(2007)
    国外几何光学、光学设计经典入门教材,浅显易懂,比较全面(Foreign geometrical optics, optical design classic entry materials, easy to understand, more comprehensive)
    2015-04-11 10:37:34下载
    积分:1
  • cdmamdem
    cdma code in matlab it is cdma receiver and transmiter.
    2009-06-29 19:39:17下载
    积分:1
  • paper[1].tar
    代价敏感支持向量机学习材料,里面有很多不同的方法。(MATLAB CSSVM)
    2011-09-08 11:00:03下载
    积分:1
  • 696524资源总数
  • 103913会员总数
  • 34今日下载