登录
首页 » matlab » ga

ga

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

  • pam
    脉冲振幅(PAM)的仿真:脉冲振幅调制,即是脉冲载波的幅度随基带信号变化的一种调制方式。如果脉冲载波是由冲激脉冲组成的,则前面所说的抽样定理,就是脉冲振幅调制的原理。(Pulse amplitude (PAM) of the simulation: Pulse amplitude modulation, that is, the range of carrier pulse with changes in base-band signal of a modulation. If the pulse carrier is formed by the impulse of the pulse, then said in front of the sampling theorem, that is, the principle of pulse amplitude modulation.)
    2009-05-31 15:58:20下载
    积分:1
  • prowiener
    blur removal from image
    2011-02-06 22:46:52下载
    积分:1
  • MATLAB-function
    matlab 函数大全,编写matlab程序时供参考(matlab functions, for reference when writing matlab program)
    2011-05-19 20:49:40下载
    积分:1
  • spt_v2.4
    基于超像素的目标跟踪算法(SPT)的Matlab源码(Matlab source code-based tracking algorithm super pixel (SPT) of)
    2015-12-02 10:15:53下载
    积分:1
  • IndependentComponentanalysis
    IndependentComponentanalysis,用法详见文件夹中的content.m,关键能运行(IndependentComponentanalysis, usage see folder content.m, the key to run)
    2010-05-28 12:19:32下载
    积分:1
  • EKF
    EKF的纯净程序,没有夹杂其他信息,本人经过测试,可以放心使用(EKF pure process, not mixed with other information, I tested, safe to use)
    2011-09-28 10:50:32下载
    积分:1
  • Detection-defauts-capteurs_A0-moyenne
    Fault detection method for nonlinear systems using TS fuzzy models. Application to the three tank system.
    2014-12-12 17:39:54下载
    积分:1
  • Gurobi_CVRP
    说明:  matlab调用gurobi求解CVRP(Matlab calls gurobi to solve CVRP problem)
    2019-10-23 23:05:10下载
    积分:1
  • Iph_PSP
    Iph current of pv modul for grid connected pv system
    2013-02-03 15:30:02下载
    积分:1
  • chap4
    简单的介绍了matlab的基本知识有简单的小程序,希望对初学者有一定的知道作用(Simple introduces entry-learning methods and examples matlab little hope for beginners have some know the role)
    2014-09-11 20:56:54下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载