登录
首页 » matlab » ga

ga

于 2012-04-28 发布 文件大小:2KB
0 202
下载积分: 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 个回复

  • MATLAB
    本资料是MATLAB教程的课件,传上来与大家共享一下(卤 戮 脳 脢脕脧脢脟MATLAB 陆 脤 鲁 脤渭脛 驴 脦 录 镁 拢 卢 )
    2007-07-28 16:17:25下载
    积分:1
  • Aprior
    pls check aprior for my reference
    2014-12-01 20:15:34下载
    积分:1
  • SIC_v1
    Signal Combination by s-parameters
    2013-05-18 01:06:12下载
    积分:1
  • Poincare.m
    相图与庞加莱截面,但程序有点问题,需要交流,相图应该是对的(A problem, the phase diagram and Poincare section)
    2013-12-26 19:01:40下载
    积分:1
  • 3gpp-channel-modle
    3gpp信道模型matlab仿真有m文件源码 方便学习3g信道相关(3gpp channel model has m file matlab simulation source code to facilitate learning 3g channel correlation)
    2021-03-02 17:19:34下载
    积分:1
  • ballbeam20110127
    beam and ball simulation
    2011-02-15 16:17:20下载
    积分:1
  • pingdingchuang-fuzhi-xiuzheng
    不同的窗函数,都对应不同的幅值修正系数;针对复制修正中最重要的平顶窗,给出修正的方法。(Different window functions, corresponding to the amplitude correction factor copy the most important amendment of the flat-top windows, give a correction method.)
    2012-07-23 15:27:23下载
    积分:1
  • principal-component-anlisys
    in this mfile i have wrote the principal component anlisys algorithm.
    2013-10-07 18:31:56下载
    积分:1
  • duoxiaoshizuixiaoerchengfa
    基于数值分析方法的多项式最小二乘法拟合,matlab(Polynomial least squares fitting based on numerical analysis method)
    2018-05-07 20:15:25下载
    积分:1
  • based-retinex-for-fog-images
    基于blind和retinex雾天图像处理,两个程序 带图片(Based blind and retinex fog image processing, two programs with pictures)
    2011-10-05 09:44:39下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载