登录
首页 » matlab » ga

ga

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

  • EZW
    EZW算法,实现对图像的零树小波算法,实现图像压缩(EZW algorithm, realize vs ICON of null tree small wave algorithm, carry out ICON compression)
    2011-05-27 15:35:49下载
    积分:1
  • hunban
    一些自适应信号处理的算法,部分实现了追踪测速迭代松弛算法,小波包分析提取振动信号中的特征频率。( Some adaptive signal processing algorithms, Partially achieved tracking speed iterative relaxation algorithm, Wavelet packet analysis to extract vibration signal characteristic frequency.)
    2016-08-17 21:25:19下载
    积分:1
  • matlab-light-diffraction
    说明:  matlab模拟光的衍射的程序,有界面,文件附了一张效果图。(matlab simulation of light diffraction procedures, interface, file attachment to the renderings.)
    2011-03-14 20:29:47下载
    积分:1
  • IEEE14
    IEEE14潮流计算 牛拉法 直角坐标形式 (The IEEE14 node power flow calculation cattle Rafah rectangular coordinate form)
    2020-07-03 02:40:01下载
    积分:1
  • Levenberg-Marquardt
    这里有个Levenberg-Marquardt算法的程序和ppt介绍(Here' s a Levenberg-Marquardt algorithm described procedures and ppt)
    2011-11-03 00:50:22下载
    积分:1
  • huNT3
    Newton-Thiele 二元有理向量插值,向量为三元(Newton-Thiele bivariate rational interpolation vector, vector of ternary)
    2011-11-14 10:05:46下载
    积分:1
  • DPSK
    2DPSK的链路仿真,信号源的产生,PCM编码,调制解调以及加燥 (2 dpsk link simulation signal source, PCM coding and modulation demodulation and dry)
    2015-04-16 09:58:27下载
    积分:1
  • BicAT_v2.22
    Run Application =============== Windows: Doubleclick the BicAT_v2.2.jar file Linux: type ./run_linux to start the application. Solaris: type ./run_solaris to start the application. possible problems: ================== Make sure the environment variables are properly set! CLASSPATH (should be ok) LD_LIBRARY_PATH = ./lib/linux ./lib/solaris Sample Data Files ================= dataSample_1.txt - use offsets (1,1) (data are already logarithmized) dataSample_2.txt - use offsets (1,1) (Run Application =============== Windows: Doubleclick the BicAT_v2.2.jar file Linux: type ./run_linux to start the application. Solaris: type ./run_solaris to start the application. possible problems: ================== Make sure the environment variables are properly set! CLASSPATH (should be ok) LD_LIBRARY_PATH = ./lib/linux ./lib/solaris Sample Data Files ================= dataSample_1.txt- use offsets (1,1) (data are already logarithmized) dataSample_2.txt- use offsets (1,1) )
    2009-07-10 11:15:24下载
    积分:1
  • shuzubaocun
    通过选择法,选出一组数据,导入到新建的数组中(By selecting the method to elect a set of data, into the new array)
    2011-09-10 16:50:53下载
    积分:1
  • matlab-pattern-clas
    模式识别方面的专业书籍,提供maylab仿真,,不过是英文版,对做毕设的同学有用(Pattern recognition of professional books, provide maylab simulation, but in English, the students complete set of useful to do)
    2011-11-18 18:57:26下载
    积分:1
  • 696518资源总数
  • 104730会员总数
  • 34今日下载