-
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
-
EFG3D
EFG METHOD FOR STUDYING, AND THIS CAN SOLVE 3D PROBLEM
- 2013-11-23 04:54:08下载
- 积分:1
-
matlab_ti
toujours le traitement d image avec matlab reste un domaine très vaste
- 2013-03-17 19:56:27下载
- 积分:1
-
music2
模拟2个独立窄带信号分别以20°,60°的方向入射到均匀线阵上,信号间互不相关,与噪声相互独立,噪声为理想高斯白噪声,阵元间距为入射信号波长的1/2,快拍数为200,信噪比为20dB,阵元数分别为10,50,100。
(Simulate two independent narrowband signals in the direction of 20 °, 60 ° of the incident on the ULA, among signal unrelated, independent noise, the noise is ideal Gaussian white noise, the array element spacing of the incident signal wavelength of 1/2, the number of snapshots 200, SNR is 20dB, the array element number 50, 100, respectively.)
- 2014-12-02 10:54:32下载
- 积分:1
-
imaging-processing-in-matlab
matlab图像处理应用,利用matlab进行图像处理的书籍(application of imaging processing in matlab)
- 2013-12-30 16:05:25下载
- 积分:1
-
Snake
说明: 用MATLAB编写的一个贪吃蛇的小游戏,集趣味与学习于一身(Written using MATLAB' s a Snake game combines fun and learning in a)
- 2010-03-18 17:51:35下载
- 积分:1
-
USA_flag
使用matlab,绘画出美国的星条旗。请运行main文件(use Matlab, painting the stars and the United States. Please operation main document)
- 2007-05-06 22:02:18下载
- 积分:1
-
matlab-codes
Music algorithm of uniform linear array
- 2012-06-12 22:37:22下载
- 积分:1
-
GUI_backgroundcolor
【Matlab界面GUI添加背景图片】:好像桌面背景一样,添加自己想要的背景图片,这里面有个技术,可以让背景不影响GUI界面的文字,edit、text。具体代码下载了解一下吧,平时工作总结的方法。(Matlab interface [GUI] Add a background image: It seems as desktop background, you want to add your own background image, and there are a technology that allows the background without affecting the GUI interface text, edit, text. Specific code to download understand it, the usual method of summing up the work.)
- 2014-01-22 13:27:06下载
- 积分:1
-
PMSM_FOC_based_on_PI_and_voltage_feedforward
基于矢量控制算法的永磁同步电机电压前馈PI控制模型,可作为算法开发的基础模型。(The voltage feed-forward PI control model of PMSM based on vector control algorithm can be used as the basic model of algorithm development.)
- 2018-09-28 17:18:51下载
- 积分:1