-
ga
说明: 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] 的行向量,然后求和,将二进制转化为十进制)
- 2012-04-28 18:02:03下载
- 积分:1
-
Code
说明: matlab粒子群优化(Particle Swarm Optimization, PSO)算法(Particle Swarm Optimization)
- 2020-04-14 00:26:08下载
- 积分:1
-
Control_Cascada
Design of a Control in cascada
- 2009-12-18 00:53:48下载
- 积分:1
-
PP
说明: 摘 要:0IE 问题是一个典型的优化组合问题,现在有很多解决的方法。本文针对遗传算法求解0IE 问题进行了研究,对
选择、交叉和变异算子进行了算法设计,最后在_ C- N软件上进行编程实现。结果表明,遗传算法在求解0IE 问题时具有
结果准确、收敛速度快等特点。
关键词:遗传算法;0IE 问题;最优化问题;_ C- N 软(Abstract: 0IE problem is a typical combinatorial optimization, there are many solutions. In this paper, genetic algorithm 0IE conducted a study on the selection, crossover and mutation operators of the algorithm design, and finally _ C- N software for programming. The results indicate that the genetic algorithm in solving problems with 0IE accurate, fast convergence and so on. Key words: genetic algorithm 0IE problem optimization problems _ C- N Soft)
- 2010-12-21 10:58:01下载
- 积分:1
-
lyapunov-zhishu-de-xiaoshu
求取lyapunov指数的小数据量方法,采用混合编程O(∩_∩)O~(Lyapunov index to strike a small amount of data methods, the use of hybrid programming O (∩ _ ∩) O ~)
- 2011-04-22 09:56:53下载
- 积分:1
-
DMI-CODES
direct matrix inversion algorithm matlab code
- 2013-10-11 16:41:06下载
- 积分:1
-
fangxiangtu
阵列方向图的matlab仿真,方向图的画法是阵列信号处理学习的最基本的能力,(Array pattern of matlab simulation, pattern of the array signal processing, painting is the most basic learning ability,)
- 2011-07-02 16:01:12下载
- 积分:1
-
matlab
matlab 遗传算法代码 附详细步骤 超详细超详细(matlab gentic)
- 2013-12-10 19:28:23下载
- 积分:1
-
program
其中有五个程序,详细地说明了五种基于模糊数据的模糊聚类的方法与实现步骤。其中五种程序分别来自五个权威外文论文(Among them, five procedures, detailed description of five based on fuzzy data fuzzy clustering methods and implementation steps. Five procedures in which the authority of a foreign language from the five papers)
- 2008-12-14 18:05:46下载
- 积分:1
-
dq_sv
matlab svpwm:svpwm的matlab仿真主要利用matlab进行svpwm生成的PARK变换、Park逆变换、波形输出等(matlab svpwm)
- 2011-05-25 18:49:29下载
- 积分:1