登录
首页 » matlab » ga

ga

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

  • Directivity_function
    麦克风阵列, directivity function of simple delay-sum-beamformer (Microphone array, directivity function of simple delay-sum-beamformer)
    2010-12-07 04:04:58下载
    积分:1
  • Batch_-_Q___Rev
    artifact removal in ecg
    2011-02-16 13:01:35下载
    积分:1
  • market_trading
    Matlab code for calculating operating costs and saving while Interchange of power and energy between power station
    2010-05-06 00:56:55下载
    积分:1
  • MOGWO
    在多目标灰色狼优化器(mogwo),固定大小的外部文件集成到该gwo保存和检索的帕累托最优解。该档案被用来定义社会等级,并在多目标搜索空间中模拟灰狼的捕猎行为。(In the Multi-Objective Grey Wolf Optimizer (MOGWO), a fixed-sized external archive is integrated to the GWO for saving and retrieving the Pareto optimal solutions. This archive has been employed to define the social hierarchy and simulate the hunting behavior of grey wolves in multi-objective search spaces.)
    2020-09-16 15:37:56下载
    积分:1
  • Programing-the-Finite-Element-Method-with-matlab
    It s a useful thing helping you to pragramming the finite element with matlab.
    2009-02-09 17:58:35下载
    积分:1
  • chenhoujindigitalsingalprocessing
    陈后金数字信号处理课件,很不错的,有助于学习(This is the ppt of digital signal processing of Chen Houjin. That is very useful for the students.)
    2012-03-20 17:24:32下载
    积分:1
  • Det_RLs
    this is very good for master students and use in communication system course
    2014-08-19 14:39:28下载
    积分:1
  • Simulacao_P1
    Simulation of basic circuit eletric
    2014-12-24 10:31:29下载
    积分:1
  • fuzzymlsimu
    模糊控制仿真模型,采用MATLAB进行模糊控制系统仿真(FUZZY CONTROL SIMULINK)
    2013-11-26 13:27:35下载
    积分:1
  • dijkstra
    基于图论求解最短路径,经典dijkstra算法,通用版(Based on the graph theory to solve the shortest path, classical dijkstra algorithm, general version)
    2021-03-27 11:49:12下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载