登录
首页 » matlab » ga

ga

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

  • MonteCarto
    排队论问题的matlab仿真程序,梦特卡罗算法写的(queuing theory emulated using Monte Carto arithmetic)
    2009-09-08 22:20:44下载
    积分:1
  • code
    对于图像信号进行处理的一系列功能,包括加噪,去噪,滤波,压缩,解压缩等等(image processing, including DWT, Haar, Compress decompress,and so on)
    2012-04-07 18:31:03下载
    积分:1
  • gobackn
    Go-Back-N ARQ is a specific instance of the automatic repeat request (ARQ) protocol, in which the sending process continues to send a number of frames specified by a window size even without receiving an acknowledgement (ACK) packet from the receiver. It is a special case of the general sliding window protocol with the transmit window size of N and receive window size of 1.
    2011-08-03 16:45:34下载
    积分:1
  • emdqyj
    经验模态分解,EMD代码,采用经验模态分解求取行波故障波形突变点(emd code)
    2013-09-20 22:28:06下载
    积分:1
  • DESIGN-OF-HYBRIDpower-systems-and--PS-FOR-ISLANDS
    DESIGN OF HYBRIDpower systems and PS FOR ISLANDS having ice cubic for islands can be used as a hybrid solar and wind
    2011-12-13 18:52:56下载
    积分:1
  • figtojpg
    matlab写的将fig格式图片转成jpg格式的源代码(matlab write the fig format jpg format image into the source code)
    2013-12-03 21:10:47下载
    积分:1
  • FuzzyCLIPS
    agood book for learning fuzzy clips
    2011-01-27 20:34:50下载
    积分:1
  • MATLABProgrammingforEngineers
    Stephen J.Chapman《Matlab编程(中文版)》 Stephen, Matlab编程 本文为Stephen J.Chapman《MATLAB编程(第二版)》英文影印版的中文译本,这本书对初学者很好的入门教材。 第一章 Matlab入门 第二章 Matlab基础 第三章 分支语句和编程设计 第四章 循环结构 第五章 自定义函数 第六章 复数数据、字符串和附加画图类 第七章 稀疏矩阵、单元阵列结构 第八章 输入输出函数 第九章 句柄图形 第十章 用户图形界面 (Stephen J. Chapman " Matlab programming (English Version)" Stephen, Matlab programming paper for the Stephen J. Chapman " MATLAB Programming (Second Edition)" English copy version of the Chinese translation of the book a good primer for beginners. Chapter I Introduction Chapter II Matlab Matlab based on Chapter III branch statements and Programming Chapter IV Chapter V loop structure defined functions Chapter VI complex data, strings and additional drawing classes Chapter VII of the sparse matrix, cell array structure of the eighth input and output functions of Chapter IX Chapter X Chapter Handle Graphics GUI)
    2010-05-16 21:07:11下载
    积分:1
  • ieee754_32
    Converts a floating point value to IEEE 754 32 bit binary representation. Sign Bit: 1 Exp: 2 to 9 Frac: 10:32 Single-precision floating-point format is a computer number format that occupies 4 bytes (32 bits) in computer memory and represents a wide dynamic range of values by using a floating point. In IEEE 754-2008 the 32-bit base 2 format is officially referred to as binary32. It was called single in IEEE 754-1985. In older computers, other floating-point formats of 4 bytes were used. For example, the 32-bit floating point bit pattern 1 01111101 00101100000000000000000 is interpreted as the following: (− 1)1 × (1 + 0.34375) × 2(125–127) = -1.34375× 2− 2 = -0.3359375 ​
    2013-09-07 22:20:32下载
    积分:1
  • chaoliujisuan
    关于电力系统中潮流计算中的节点导纳矩阵Y的计算(Node Admittance Matrix Computation)
    2019-05-06 16:11:23下载
    积分:1
  • 696524资源总数
  • 103938会员总数
  • 55今日下载