登录
首页 » Matlab » 遗传算法,想学果断看过来

遗传算法,想学果断看过来

于 2022-01-22 发布 文件大小:1.45 kB
0 46
下载积分: 2 下载次数: 1

代码说明:

clc; clear; %%%%%%%%%%%%%%%%%%%%初始化%%%%%%%%%%%%%%%%%%%%%%% M=50; %种群大小 Pc=0.6; %交叉概率 Pm=0.001; %变异概率 l_limit=-10; %求解区间下限 h_limit=10; %求解区间上限 delta=1/10000; %所需精度 generations=500 ; %繁衍代数 a=(h_limit-l_limit)/delta+1; %临时变量 f=@(x)(sin(x)./x); %目标函数 for icnt=0:inf if a

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

发表评论

0 个回复

  • MATLAB
    这个环境最简单的是 gcc + glibc + linux-header + make 。另外还要看你的目标环境。(gcc+ glibc+ linux)
    2010-10-13 19:39:23下载
    积分:1
  • start
    Form for input data? store it in a file and run other script.
    2009-06-19 21:34:29下载
    积分:1
  • functionLyapunov
    小数据量计算利亚普诺夫指数(Liapunov index of small amount of data calculation)
    2010-03-10 14:35:50下载
    积分:1
  • trapezoida-3d
    三维数字滤波器中的梯形理想低通和高通滤波器的matlab仿真及其结果(3 d digital filters of the trapezoidal ideal low pass and high-pass filter matlab simulation and the result )
    2011-12-13 15:50:32下载
    积分:1
  • fuzzy-control-bilinear-systems
    对双线性时滞系统进行T-S模糊控制,满足系能指标,鲁棒控制(Bilinear time-delay system for TS fuzzy control system able to meet the targets, robust control)
    2014-02-16 11:06:43下载
    积分:1
  • matlab内点法求解电力系统最优潮流
    matlab内点法求解电力系统最优潮流。算例是一个简单的2机5节点系统,目标函数为发电费用最小。通过运用路径跟踪内点法在matlab平台上实现最优潮流的求解。可参考王锡凡主编的《现代电力系统分析》中第123页。
    2022-07-09 10:37:36下载
    积分:1
  • 下载一个卡尔曼语音增强程序,让你的信息修改…
    下载的一个卡尔曼语音增强程序,做了修改后给大家参考参考-Download a Kalman speech enhancement program, made modifications to your information
    2022-11-05 14:45:03下载
    积分:1
  • GDA
    Generalised Discriminant Analysis
    2009-08-22 21:37:01下载
    积分:1
  • Fisher_student
    用matlab实现两类样本fisher算法,可以自己改变输入样本数,和判决样本,但是只分了两类,如果需要更多类在这个基础上研究一下就好(The matlab realize two types of samples fisher algorithm can change the number of input samples, and judgment sample, but divided into only two categories, if you need more class look like on this basis)
    2013-04-01 20:27:41下载
    积分:1
  • matlab
    主要是些matlab的常用指令,对大家可能会有所帮助(Mainly those commonly used matlab instructions may help to everyone)
    2010-05-09 14:47:15下载
    积分:1
  • 696518资源总数
  • 105578会员总数
  • 20今日下载