-
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
-
RS232-Communication
RS232 comunication by Matlab GUI
- 2010-11-25 16:20:40下载
- 积分:1
-
SVMLS_v0
说明: 该程序是几何活动轮廓模型的matlab源代码.(active contour model
matlab)
- 2011-04-12 09:45:44下载
- 积分:1
-
Desktop
A.2 Open Image Files
This function looks for x-ray images (.tif) in directory ‘dname’ and creates a movie of
I(q) versus q and saves the corresponding 3D matrix. ‘TempA’ and ‘TempB’ are the
slope and y-intercept of the ramp temperature profile, respectively. Variables ‘timeA’ and
‘timeB’ are the slope and y-intercept of the time dependence on the frame number.
‘IC1A’ and ‘IC1B’ are the slope and y-intercept of the IC1 value (prior to sample)
dependence on the frame number. It load background matrices ‘B’ which should be
double-format and corrected for IC1 and any difference for acquisition time. This function calls radialintegrationBNL
A.4 Lorentz Correction
This function creates and saves the Lorentz-corrected intensity matrix calculated the
intensity matrix created in A.2. It also saves each frame as a separate ascii file for
crystallinity uation in Origin or other software.
- 2014-11-28 23:30:51下载
- 积分:1
-
work
MATLAB在数学建模中的应用,其中很多源代码都是可以反复使用和论证的(MATLAB in Mathematical Modeling, many of them the source code can be re-use and verification of)
- 2009-01-30 23:44:36下载
- 积分:1
-
GUI2
主要介绍MATLAB中的GUI设计,从最基本的概念开始,通过实例学习,容易上手。(Introduces MATLAB' s GUI design, from the most basic concept began, through the examples of learning, easy to use.)
- 2010-01-06 10:06:48下载
- 积分:1
-
simulations-in-complex-networks
复杂网络中典型网络的matlab仿真(包括小世界网络,BA网络,随即图等等)(matlab simulations in complex networks)
- 2012-05-06 21:37:47下载
- 积分:1
-
Illustrate
最小方差响应不变波束形成器即MVDR是一种高分辨谱估计方法,MVDR在信号处理DOA中应用较广。(Minimum variance beamformer response constant MVDR is a kind of high resolution spectrum estimation method in signal processing, MVDR DOA has a wide application)
- 2012-06-30 20:13:25下载
- 积分:1
-
MATLAB2
关于符号计算部分,适合MATLAB的初学者使用,这是第二部分,和第一部分相衔接(About symbolic computation section, suitable for beginners to use MATLAB, which is the second part, and the first part of the convergence)
- 2014-11-09 16:33:23下载
- 积分:1
-
rotate
this is a program code for rotation using GUI
- 2009-06-21 13:42:53下载
- 积分:1