登录
首页 » matlab » ABL

ABL

于 2015-06-08 发布 文件大小:2KB
0 258
下载积分: 1 下载次数: 33

代码说明:

  基于元胞自动机编写的传染病扩散matlab代码,为了运行方便,把所有代码都集中在了一个m文件中,重要部分都带有注释,算法取得了较好的结果,在这里分享给大家。( Cellular Automata based infectious disease diffusion write matlab code, in order to facilitate operation, all the codes are concentrated in an m file, important parts are annotated, the algorithm has achieved good results, here for everyone to share.)

文件列表:

ABL.m,9406,2015-02-10

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • ParallelMatlab
    关于“pMatlab”(from MIT) 工具在Matlab 环境中使用的说明(word),附例子和相应的“startup”文件以及pMatlab 工具包(On pMatlab (from MIT) tool in the Matlab environment description (word), attached to the corresponding examples and startup file, as well as toolkits pMatlab)
    2007-11-15 12:34:03下载
    积分:1
  • li9_23
    clear all I=imread( lena.bmp ) figure imshow(I) I2=imrotate(I,-4, bilinear ) 逆时针旋转4度 figure imshow(I2) I3=fliplr(I) 垂直镜像 figure imshow(I3) I4=imresize(I,0.5, bilinear ) 缩小为原图的1/2 figure imshow(I4) A=double(I) 转换为double类型 计算7个不变矩 [nc,nr]=size(A) [x,y]=meshgrid(1:nr,1:nc) 得到网格 x=x(:) y=y(:) A=A(:) m.m00=sum(A) if m.m00==0 m.m00=eps end m.m10=sum(x.*A) m.m01=sum(y.*A) 计算均值 xmean=m.m10/m.m00 ymean=m.m01/m.m00 计算中心矩(li9_23.rar cm.cm00=m.m00 cm.cm02=(sum((y-ymean).^2.*A))/(m.m00^2) cm.cm03=(sum((y-ymean).^3.*A))/(m.m00^2.5) cm.cm11=(sum((x-xmean).*(y-ymean).*A))/(m.m00^2) cm.cm12=(sum((x-xmean).*(y-ymean).^2.*A))/(m.m00^2.5) cm.cm20=(sum((x-xmean).^2.*A))/(m.m00^2) cm.cm21=(sum((x-xmean).^2.*(y-ymean).*A))/(m.m00^2.5) cm.cm30=(sum((x-xmean).^3.*A))/(m.m00^2.5) im(1)=cm.cm20+cm.cm02 im(2)=(cm.cm20-cm.cm02)^2+4*cm.cm11^2 im(3)=(cm.cm30-3*cm.cm12)^2+(3*cm.cm21-cm.cm03)^2 im(4)=(cm.cm30+cm.cm12)^2+(cm.cm21+cm.cm03)^2 im(5)=(cm.cm30-3*cm.cm12)*(cm.cm30+cm.cm12)... *((cm.cm30+cm.cm12)^2-3*(cm.cm21+cm.cm03)^2)... +(3*cm.cm21-cm.cm03)*(cm.cm21+cm.cm03)... +(3*(cm.cm30+cm.cm12)^2-(cm.cm21+cm.cm03)^2) im(6)=(cm.cm20-cm.cm02)*((cm.cm30+cm.cm12)^2-(cm.cm21+cm.cm03)^2)... +4*cm.cm11*(cm.cm30+cm.cm12)*(cm.cm21+cm.cm03) im(7)=(3*cm.cm21-cm.cm03)*(cm.cm30+cm.cm12)... *((cm.cm30+cm.cm12)^2-3*(cm.cm21+cm.cm03)^2)... +(3*cm.cm12-cm.cm30)*(cm.cm21+cm.cm03)... *()
    2010-10-17 21:53:14下载
    积分:1
  • MeasuringAngleofIntersection
    说明:  用图像进行物体角度测量的代码,在Matlab下编写,很有参考价值。(image objects angle measurement for the code in Matlab under preparation, great reference value.)
    2006-03-28 22:49:04下载
    积分:1
  • sg_createfilterf2
    face filter program for matlab
    2014-10-18 15:06:29下载
    积分:1
  • improved-leach
    This is the matlab code of improved LEACH. It describe the raffinement of LEACH protocol
    2013-10-08 19:46:27下载
    积分:1
  • induction-motor-2
    induction motor simulation in matlab at various line frequencies
    2011-11-30 06:19:23下载
    积分:1
  • dane
    data to fit circle...............................................
    2012-01-07 20:13:30下载
    积分:1
  • Chuas
    Chua系统的simulink仿真,可以运行(Chua system simulink simulation, you can run)
    2009-01-15 14:50:19下载
    积分:1
  • matlab123
    基于杨氏干涉的位相物体测量系统及其相位测量算法的Matlab 程序实现(Based on Young' s interference phase measurement system objects and phase measurement algorithm Matlab program)
    2009-04-21 13:31:44下载
    积分:1
  • Kalman
    卡尔曼滤波器范例,在matlab当中可以实现卡尔曼滤波的功能,通过修改参数可得不同的结果(Example of the Kalman filter, Kalman filter function in matlab which can get different results by modifying the parameters)
    2012-07-12 15:38:53下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载