登录
首页 » matlab » ga

ga

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

  • fourierAndFilter
    频谱分析和滤波器设计 ppt文件 MATLAB表述的信号和系统, 用MATLAB与信号流图求系统 频谱分析 离散频谱与连续频谱的转换(Spectrum analysis and filter design ppt file MATLAB expression signals and systems using MATLAB and signal flow diagram for the system spectral analysis of discrete spectrum and continuous spectrum conversion)
    2008-05-05 09:30:58下载
    积分:1
  • bbbbb
    说明:  统计学的一些简单的小程序,希望大家可以帮忙改以下(statistically small number of simple procedures in the hope that we can help with the following)
    2006-04-19 20:58:11下载
    积分:1
  • CG1.m
    linear conjugate gradient
    2010-10-21 03:18:38下载
    积分:1
  • MATLAB-explore
    数值计算软件matlab 入门学习材料 有效掌握matlab基础知识(numerical simulation)
    2011-09-12 21:55:48下载
    积分:1
  • 92912322resonator
    One dimensional interpolation Fourier transform to realize data sampling
    2015-01-27 21:03:38下载
    积分:1
  • fd
    说明:  有限差分声波波动方程正演。主要用于地震勘探正演(Finite difference method of acoustic wave equation forward modeling)
    2015-04-09 12:04:40下载
    积分:1
  • Matlabandprogramsourcecode
    matlab source code very useful to science study
    2009-04-01 10:17:22下载
    积分:1
  • Untitled2
    上传的是SIR的代码,给粒子滤波初学者提供一些简单的基础的代码。(SIR code is uploaded to the particle filter for beginners to provide some simple basic code.)
    2015-03-26 19:24:25下载
    积分:1
  • resonator
    说明:  Fox-Li模拟谐振腔,含有条形,矩形,圆形腔,并做成GUI可是界面(The Simulation of Mode Field in Resonator Based On Fox-Li Method)
    2009-08-04 22:35:48下载
    积分:1
  • TD-SCDMA
    说明:  tdscdma信道仿真程序,可直接在MATLAB上进行仿真(tdscdma channel simulation program can be carried out directly in the MATLAB simulation)
    2010-04-13 10:10:39下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载