登录
首页 » matlab » ga

ga

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

  • filmsgrowth
    利用matla模拟薄膜生长,模拟原子入射到基板表面,气相吸附为固相,或者反射迁移的过程(Simulation of thin film growth using matla simulated incident to the substrate surface atoms, gas adsorption for the solid phase, or the process of reflection migration)
    2009-04-20 21:17:20下载
    积分:1
  • SI
    说明:  Matlab的系统经典辨识,包括二阶和三阶(Matlab system identification classical)
    2010-04-23 09:26:39下载
    积分:1
  • inverter-parallel-program
    三相逆变器并联控制程序 两台三相逆变器主从控制(Parallel three-phase inverter control program of two three-phase inverter master-slave control)
    2014-07-07 09:30:56下载
    积分:1
  • leachvsdeec
    LEACH协议与DEEC协议的比较,用matlab编写的,可以运行哦。(LEACH protocol agreement with the DEEC comparison, using matlab prepared, you can run, oh.)
    2021-02-25 01:39:39下载
    积分:1
  • Newfolderthree
    some useful programs
    2010-12-06 06:40:18下载
    积分:1
  • Titere
    A tiny app that controls a puppet with a wiimote controller. Uses the wiimotelib and a serial port to communicate the arduino board. The code for the arduino board is in other file.
    2015-01-11 02:07:07下载
    积分:1
  • CPP-Beginner_s-Guide
    C++ base for beginer
    2015-03-29 20:02:09下载
    积分:1
  • 故障诊断
    采用时域、频域、FFT小波变换及数学形态等分析方法完成对滚动轴承的故障诊断(Fault diagnosis of rolling bearing is completed by using time-domain, frequency domain, FFT wavelet transform and mathematical morphology.)
    2018-04-01 16:49:07下载
    积分:1
  • HOFFMAN
    霍夫曼coding程序,用此程序可以对任意图像进行霍夫曼编码。(Huffman coding procedures, this procedure can be used for any image Huffman coding.)
    2020-11-10 15:19:46下载
    积分:1
  • simpleTest2
    此文件是基于ARToolKit的开发包上的再次开发,上面显示一个一个立方体,并加以稳定的程序,对增强现实有很好的指教。(This document is based on the development of ARToolKit developed again on the package, shown above, one by one cube, and the procedures to be stable, for augmented reality have a good advice.)
    2010-12-30 14:18:57下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载