-
TS_TSP
解决TSP问题的TS算法MATLAB实现,其中加入了变异算法,当然也可以去掉这个步骤,调用TS_TSP(N, inStart, IsBianYi),N是城市数目,inStart是起始城市的序号,IsBianYi就是选择变异否,如果为0则不要变异,否则就是结合变异算子的TS算法。
至于下面的参数可以自己调:
T:总的循环次数;
tabulength:禁忌长度;
Pby:变异概率;
(Solve the TSP problem MATLAB realize TS algorithm, which joined the variance algorithm, of course, this step can also be removed, call TS_TSP (N, inStart, IsBianYi), N is the number of cities, inStart is the serial number of the starting cities, IsBianYi is to choose variation has, if not for the variation of 0, otherwise, it is combined with mutation of the TS algorithm. As for the following parameters can be their own tune: T: total number of the cycle tabulength: taboo length Pby: mutation probability )
- 2007-10-19 16:03:51下载
- 积分:1
-
gatbx-toolbox
说明: 经典的遗传算法工具包. 可以实现用户需要的多数遗传算法操作功能.(Classical genetic algorithm toolkit.Enables users need to operate most of the genetic algorithm function.)
- 2010-04-05 11:23:01下载
- 积分:1
-
1234435
用matlab 7.0编写的滑模变结构仿真的例子。(S-function for continuous state equation
function [sys,x0,str,ts]=s_function(t,x,u,flag)
switch flag,
Initialization
case 0,
[sys,x0,str,ts]=mdlInitializeSizes
Outputs
case 3,
sys=mdlOutputs(t,x,u)
Unhandled flags
case {2, 4, 9 }
sys = []
Unexpected flags
otherwise
error([ Unhandled flag = ,num2str(flag)])
end
mdlInitializeSizes
function [sys,x0,str,ts]=mdlInitializeSizes
sizes = simsizes
sizes.NumContStates = 0
sizes.NumDiscStates = 0
sizes.NumOutputs = 3
sizes.NumInputs = 1
sizes.DirFeedthrough = 1
sizes.NumSampleTimes = 0
sys=simsizes(sizes)
x0=[]
str=[]
ts=[]
function sys=mdlOutputs(t,x,u)
x11d=sin(pi*t/2)
x21d=cos(pi*t)
x31d=1
sys(1)=x11d
sys(2)=x21d
sys(3)=x31d
)
- 2012-10-19 11:43:12下载
- 积分:1
-
Adaptive--algorithms-analynis
比较了几种自适应算法用于信道均衡的性能,包括LMS、NLMS、RLS等。包含仿真代码和理论的结果分析,以及自适应滤波理论的课件。(Compare the performance of several adaptive algorithm for channel equalization, including LMS, NLMS, RLS and so on. These results include simulation code and theoretical analysis, and courseware adaptive filtering theory.)
- 2015-06-24 19:21:20下载
- 积分:1
-
tuxiangruihua
看到的一个有关图像锐化的MATLAB代码(See a MATLAB code for the image sharpening)
- 2010-09-20 16:38:49下载
- 积分:1
-
ICALABSPv2_2
很好很强大的独立分量分析程序,这个大家都可以用来看看(A very powerful independent component analysis program, take a look at this we all can be used to)
- 2010-09-29 10:46:45下载
- 积分:1
-
esprit
matlab的一些波束形成的算法 多种方法。。(the matlab the beamforming algorithm a variety of methods. .)
- 2012-11-26 20:20:53下载
- 积分:1
-
MATLAB6.0MathHandbook
MATLAB6.0数学手册,很不错的一本参考手册,包括大部分工具箱函数注释。(MATLAB6.0 Math Handbook, it is a good reference manual, including most Toolbox Notes function.)
- 2009-03-18 18:37:48下载
- 积分:1
-
rdsac.m.tar
用MATLAB程序打开数字地震数据记录SAC格式。(using Matlab, it can open the data of seismic wave.)
- 2013-11-29 00:39:31下载
- 积分:1
-
NetCreate
改进的Salama博士的网络拓扑随机生成算法(Dr Improved Salama random generation algorithm of network topology)
- 2014-03-03 18:27:20下载
- 积分:1