登录
首页 » matlab » ga

ga

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

  • matlab
    MATLAB6.5辅助优化计算与设计,遗传算法在车间布局优化中的应用(We address the two-stage assembly scheduling problem where there are m machines at the first stage and an assembly machine at the second stage. )
    2009-05-29 11:10:24下载
    积分:1
  • EX09_04
    关于Google Map的源码,用于定位所在的位置,相当实用(The code for Google Map)
    2010-03-11 22:27:39下载
    积分:1
  • GSM-FS-Simulation-of-channel-coding
    说明:  本次设计是对GSM TCH/FS信道进行编码设计及性能仿真,仿真通信系统包括内外编码器、交织重排器、加性/突发和混合干扰信道、去交织反重排器、内外译码器,模拟了信息从信源到信宿的全过程; 在高斯噪声、突发干扰或混合信道及瑞利信道下测试每个步骤对误码率和系统性能的影响,通过数字及图形的比较,得出通信系统中各个模块的作用。另外,在GSM TCH/FS 的基础上建立GSM TCH/EFS 信道,对相应的信道环境进行仿真,得出误码率分析。 (This design is the GSM TCH/FS channel encoded design and performance simulation, simulation communication system, including internal and external encoder, interleaving rearrangement device, the additive/burst and mixed interference channel, to the cutting device against rearrangement, internal and external decoding and analog information from the source to the destination of the whole process in Gaussian noise, sudden disruption or mixing channel and Rayleigh channel to test each step of the bit error rate and system performance, by comparison of digital and graphic obtained communication systems the role of each module. In addition, GSM TCH/FS based on the established GSM TCH/EFS channel, the corresponding channel environment simulation, the error rate analysis)
    2010-04-20 09:27:08下载
    积分:1
  • yuanma
    说明:  用matlab函数imhist()实现给定图像的直方图;函数histeq()实现直方图均衡化;对给定图像,各自指定直方图,进行直方图匹配,使图像增强。(Using matlab function imhist () to achieve a given image histogram function histeq () to achieve histogram equalization on a given image, each designated histogram, histogram matching, so that the image enhancement.)
    2011-04-12 19:46:02下载
    积分:1
  • Tieu-Luan
    simulation elman neuron control temperature
    2011-10-07 00:10:50下载
    积分:1
  • Econommic-Dispatch-master
    说明:  带数据的经济调度方案,只包含火电厂,没有其他能源。(he economic dispatching scheme with data only includes thermal power plants, without other energy sources.)
    2019-12-15 09:52:42下载
    积分:1
  • DPSD
    说明:  DPSD算法,用于滤波的,已经用于核磁共振技术很多年了,相当成熟了,希望对大家有用(DPSD algorithm for filtering, nuclear magnetic resonance technique has been used for many years, very mature, we hope to be useful)
    2011-03-18 21:57:42下载
    积分:1
  • Turbo_code_simulation
    1. 程序中Turbo译码采用了MAP,LOG-MAP,和MAX-LOG-MAP三种算法。 2. 以xxx开头的四个mat文件是四种给定的Turbo码在译码时用到的参数,保存下来的目的是 加快仿真的速度,如果你所仿真的Turbo码不是程序中列出的任意一种,你可以通过函数 trellis来生成自己的相关参数。 3. 程序支持1/2和1/3两种码率的Turbo码,其中1/2码率的Turbo码通过矩阵[1 0 0 1]打 孔得到。在译码时通过对打孔位置添0恢复成1/3码率的码字。 4. 程序中的信噪比表示Eb/N0,通过此参数求得N0,对发送信号进行加噪。(1 program in Turbo decoding using the MAP, the LOG-MAP, and three kinds of the MAX-LOG-MAP algorithm.)
    2021-04-13 19:08:56下载
    积分:1
  • filtrodoppler
    Doppler filter to simulate movements in wireless channel
    2014-10-02 02:26:26下载
    积分:1
  • osggeo_svn
    development package based OpenSceneGraphics libary for Geology.
    2015-06-24 11:46:23下载
    积分:1
  • 696516资源总数
  • 106913会员总数
  • 8今日下载