-
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
-
audze_lhcl
A code to generate 3D sample points for Design of Experiment (DoE).
The points are generated using optimal Audze-Eglais Latin hypercube. Audze and Eglais presented a uniformed scheme by establishing an analogy between design points and set of mass and using the repulsive potential energy as optimality criteria. You should define number of sample points in “line 8” with sp_num
- 2012-08-02 16:25:14下载
- 积分:1
-
sui_ji_shi_yan_noise2
对随机高斯白噪声进行仿真实验,获得一组图像,能直观的理解噪声性质(Simulation experiments, to obtain a set of images, intuitive understanding of the noise characteristic of random white Gaussian noise)
- 2013-04-14 00:08:23下载
- 积分:1
-
TDOA2
关于定位技术的一个最新的Tdoa方面的matlab代码(Positioning technology an up-to-date the TDOA aspects of matlab code)
- 2013-04-20 14:09:43下载
- 积分:1
-
PSO_MATLAB
基本PSO算法源代码,可以直接在matlab中运行。效果不错,适合初学者。(Basic PSO algorithm source code can be directly run in matlab. Good results, suitable for beginners.)
- 2013-11-19 14:19:05下载
- 积分:1
-
Guass_Seidel
gauss_seidel解方程组gauss_seidel解方程组gauss_seidel解方程组(gauss_seidel gauss_seidel gauss_seidel gauss_seidel)
- 2010-06-25 19:03:50下载
- 积分:1
-
Adaptive-genetic-algorithm
基于MATLAB的自适应遗传算法的代码实现(Adaptive genetic algorithm based on MATLAB)
- 2015-03-23 17:21:09下载
- 积分:1
-
chazi
三弯矩插值计算,第一类边界条件的程序.样条插值的应用(Third moment interpolation, the first type of boundary condition procedures. The application of spline interpolation)
- 2010-06-16 08:58:20下载
- 积分:1
-
Untitled2-(2)
SIMPLE EXAMPLE OF WAVELET
- 2015-02-28 07:15:53下载
- 积分:1
-
nyquist_two_order
画出二阶戴维南RC等效电路的奈奎斯特曲线和一组数据的三维散点图,剖面图(Draw the second-order thevenin RC the Nyquist curve of equivalent circuit and a set of 3 d scatter plot of data, profilet)
- 2013-05-10 11:33:23下载
- 积分:1