登录
首页 » matlab » work3

work3

于 2011-07-14 发布 文件大小:11KB
0 203
下载积分: 1 下载次数: 20

代码说明:

  the last part of my work in the photovoltaic generator

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

发表评论

0 个回复

  • 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
  • Image-Fusion-Toolkit
    这是国外学者编的图像处理小波工具箱,十分好用。(This is a compilation of foreign scholars, image processing wavelet toolbox is very easy to use.)
    2021-05-15 22:30:07下载
    积分:1
  • leach
    leach协议的MATLAB实现,主要体现leach的算法过程。(leach algorithm based on MATLAB。)
    2009-11-02 19:44:34下载
    积分:1
  • IM
    说明:  important file upload to be
    2011-03-03 14:54:36下载
    积分:1
  • my1234
    Simple ray-tracing engine for Matlab
    2010-10-22 00:58:39下载
    积分:1
  • ellipse
    此代码是用来绘制椭圆的,能够在matlab的编程环境下实现椭圆的绘制(This code is used to draw the ellipse, and able to achieve matlab programming environment to draw the ellipse)
    2011-05-21 09:22:06下载
    积分:1
  • mytp
    这是对波场做的一个TP变换,并进行反变换的程序。用matlab实现,可以实现波场分离的效果,文件中还自带了一个简易的理论地震记录(This is the wave field so a TP transform, and transform the process. Using Matlab to achieve, can achieve a separation of wave field effect, the paper also carried with them their own a simple theory of seismic records)
    2021-04-16 09:28:53下载
    积分:1
  • dianlixitong
    这是电力系统相关的一个课程设计,运用的编程语句相对比较简单、易懂。适合对Matlab不是很熟练的学子(This is a curriculum-related power system design, the use of programming statements is relatively simple, understandable. Suitable for Matlab is not very skilled students)
    2013-11-28 09:55:46下载
    积分:1
  • xiaobo
    二维小波变换经典程序的图像回复MAtlab代码以及注解(Reply MAtlab dimensional wavelet transform the image of the classic program code and comments)
    2013-03-25 13:33:18下载
    积分:1
  • smalli
    基于matlab的小电流接地系统单相故障分析,得到了系统对敌电压和线电压的波形图。(Matlab small current grounding system single-phase fault-based analysis, waveform diagram of system voltage and line voltage the enemy.)
    2013-03-15 09:48:26下载
    积分:1
  • 696516资源总数
  • 106627会员总数
  • 16今日下载