登录
首页 » 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 个回复

  • hilbert
    能够很好的实现hilbert变化,结果和matlab基本一样,已经通过实验。(Hilbert can achieve very good changes, results and basic matlab, as the experiment has passed.)
    2009-04-02 15:43:00下载
    积分:1
  • ID3+C4.5
    ID3+C4.5的源程序。用于数据挖掘决策算法的一个实例。(ID3 C4.5 of the source. Data Mining for a decision algorithm examples.)
    2007-06-07 15:05:12下载
    积分:1
  • lnmf
    LNMF- local non-negative matrix factorization, for face recognition.
    2020-11-01 20:49:54下载
    积分:1
  • mfile
    这是本人收集的一些程序源代码,看看有没有大家需要的(this is my collection of source code, we see no need)
    2006-06-09 20:50:33下载
    积分:1
  • 2d-kmean-algorithm
    2D-Kmeans clustering algorithm. It can be used for audio(source localization) and image clutstering(object clustering in an image)..
    2013-04-17 01:26:08下载
    积分:1
  • matlab-a-VC
    Vc+_+调用matlab的一个实例,包括matlab源文件,VC源文件,以及word和pdf文件说明(Vc+_+ call matlab one instance, including the matlab source file, VC source files, as well as word and pdf file description)
    2013-07-13 16:10:42下载
    积分:1
  • Pulse-signal
    基于matlab的脉冲时间信号表示与分析,对信号分析很有帮助(Representation and analysis, signal analysis based on matlab helpful pulse time signal)
    2014-08-21 11:01:37下载
    积分:1
  • algha
    induction machine simulation
    2014-09-16 03:57:52下载
    积分:1
  • turbo
    用来实现TD-SCDMA系统中turbo码的编译和其它附属功能(Used to implement TD-SCDMA system to compile turbo codes and other ancillary functions)
    2013-12-16 19:27:17下载
    积分:1
  • 非期望产出
    说明:  用于非期望产出的SBM,衡量企业具有非期望产出的dea模型(SBM for unexpected output, DEA model to measure the unexpected output of enterprises)
    2019-11-11 11:22:54下载
    积分:1
  • 696516资源总数
  • 106913会员总数
  • 8今日下载