登录
首页 » Matlab » 遗传算法源代码

遗传算法源代码

于 2022-07-09 发布 文件大小:28.94 kB
0 11
下载积分: 2 下载次数: 1

代码说明:

%P199_8  GA clc; clear; pop_size=100;%种群大小 m=42;%每个个体的基因数目 m1=21;%每个个体中x1占的位数 m2=21;%每个个体中x2占的位数 %产生初始种群 for j=1:pop_size     for i=1:m         num=randperm(2)-1;         str_num(j,i)=dec2bin(num(1));%随机产生的二进制数,pop_size个,每个m位            end   end delta=10; cc=0;%迭代次数 while delta>0.01%for qq=1:500%大循环 for j=1:pop_size for i=1:m     if i

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • tsvd_fft
    基于fft的截断奇异值分解 (TSVD)正则化方法(TSVD: Truncated Singular Value Decomposition: TSVD)
    2012-06-23 10:34:00下载
    积分:1
  • DWT
    DWT的分解与逆变,可以用于风电和负荷预测之前的去噪点(decomposition and inverter which based on DWT , it can be used in the wind power prediction and load forecasting data )
    2014-12-23 10:28:30下载
    积分:1
  • MATLAB-
    这里面有MATLAB常用的一些算法,用于计算数值计算,文件格式为.m(There MATLAB commonly used in some algorithms used to calculate the numerical calculation for the file format. M)
    2012-06-09 17:39:21下载
    积分:1
  • chap02
    123matlab is very good matlab is very good(matlab is very good matlab is very good)
    2013-07-14 15:59:46下载
    积分:1
  • Simulation-for-Communications
    通信专业的经典电子书,包括各种调制方式,OFDM、CDMA等典型系统和关键技术介绍,每部分内容附有matlab程序,讲解详细,值得珍藏!(Simulation and Software Radio for Mobile Communications)
    2013-09-02 21:52:20下载
    积分:1
  • MATLABP7.0
    Matlab 7.0 主要功能与函数使用教材,对于使用matlab 的高级应用有很大帮助(Matlab 7.0 function uses textbooks, for use matlab senior applications have great help)
    2012-11-04 14:30:40下载
    积分:1
  • matlab(2)_Expro
    用matab写的一些源程序,对学习matlab的初学者比较有用!(Matab written by some source of learning more useful for beginners in matlab!)
    2009-05-12 10:12:14下载
    积分:1
  • MFCCmatlab
    语音mfcc特征参数提取matlab代码,粘贴在Word中,希望对大家有用(mfcc)
    2010-11-30 12:46:00下载
    积分:1
  • BCEncode
    二维码操作程序示例二维码操作程序示例二维码操作程序示例二维码操作程序示例(Two-dimensional example of a program of two-dimensional code code example of a program of two-dimensional example of a program of two-dimensional code code example of a program)
    2013-12-03 11:33:43下载
    积分:1
  • DBSCAN
    说明:  DBSCAN聚类算法matlab算法部分代码,包含主程序及画图程序(DBSCAN clustering algorithm matlab algorithm part of the code)
    2019-02-12 17:52:50下载
    积分:1
  • 696524资源总数
  • 103920会员总数
  • 65今日下载