-
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
-
HWK1
Assignment 1 given to me by my lecturer
- 2011-06-02 15:29:22下载
- 积分:1
-
minitabguiderevised
Easy guide for learning Minitab
- 2012-10-17 15:50:29下载
- 积分:1
-
Field_II_PC7
Ultrasound simulation(Ultrasound simulation FILD II)
- 2011-05-05 21:30:54下载
- 积分:1
-
sound
sound operations in matlab
- 2014-02-19 01:17:21下载
- 积分:1
-
binlesswarp
file dll special for the file spike under matlab code.
- 2010-12-14 14:55:05下载
- 积分:1
-
czhx
matlab实现的磁滞回线的源码,并附有中文解释,可以根据需要修改(matlab implementation of the hysteresis loop of the source with a Chinese interpretation may need to modify)
- 2020-08-03 19:18:34下载
- 积分:1
-
matlab-APF
simulink 仿真的APF程序,非常好用的仿真程序(Simulink program of APF, very useful simulation program
)
- 2021-02-26 18:29:37下载
- 积分:1
-
fuduqifu_mn_1
雷达中频回波仿真,对脉内起伏进行仿真,含脉内慢起伏和脉内快起伏(Radar IF echo simulation, simulation intrapulse downs, including slow downs and pulse-pulse fluctuations within the fast)
- 2013-09-29 08:17:29下载
- 积分:1
-
chapter3
基于神经网络的SVPWM逆变,经典案列,经测试没问题,运行很好。
SVPWM inverter based on the neural network, the classic case, the test is no problem, very good.
(
SVPWM inverter based on the neural network, the classic case, the test is no problem, very good.
)
- 2016-05-13 00:50:02下载
- 积分:1