-
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
-
frameDetect
端点检测就是检测语音是否进入语音段,而不是还停留在静音段。(It can help you judge a voice record if it
has gone to the necessary place.)
- 2012-05-04 19:35:41下载
- 积分:1
-
ch06-UART
基于KL25的开发例程,本例程关于异步通信,附带相关底层构建,十分适合初学者参考编程。(Based on KL25 development routine, the routine of asynchronous communication, with related underlying build, programming is very suitable for beginners reference.)
- 2013-12-17 21:58:51下载
- 积分:1
-
adctest
ADC test data 测试,同步图形
ADC test data evaluation program (adctest) for MATLAB(ADC test data)
- 2012-01-25 07:34:27下载
- 积分:1
-
liangleiche
在进行交通流仿真时考虑两类车,不同的车长和不同的最大速度。(Consider when making traffic flow simulation two cars, a different car lengths and different maximum speeds.)
- 2013-08-30 10:41:04下载
- 积分:1
-
Matlab_overview
Matlab_overview
this is a pdf consist of basic of matlab
- 2014-01-19 22:49:29下载
- 积分:1
-
1DTEM
一维瞬变电磁数据处理程序,烟圈反演方法,效果不错(a program of tem)
- 2020-09-27 20:17:46下载
- 积分:1
-
license
用于求解matlab排序问题,求解得效率很高,比一般的方法好哦(Matlab for solving the scheduling problem, to solve a highly efficient method than the average好哦)
- 2009-04-10 17:55:46下载
- 积分:1
-
brushlessDCmotor
无刷直流电机的建模和仿真,包含matlab里面的例子,可以仿真成功,有最后的转矩波形(Brushless DC motor modeling and simulation, including inside matlab example, can emulate the success, there is a final torque waveform)
- 2013-09-07 10:45:44下载
- 积分:1
-
ProblemsTRC
Radio communcation Matlab source codes problems
- 2013-10-24 15:58:55下载
- 积分:1