登录
首页 » matlab » im_sim_model(1)

im_sim_model(1)

于 2012-05-28 发布 文件大小:11KB
0 160
下载积分: 1 下载次数: 5

代码说明:

  induction motor simulation in matlab

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

发表评论

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
  • signal
    语音信号的干扰去除.对原始信号进行频谱分析,确定干扰的频率;根据干扰的特点采用不同的滤波器对信号进行处理(Remove the interference of speech signals. On the original signal spectrum analysis to determine the frequency interference according to the characteristics of interference filters with different signal processing)
    2010-07-12 17:35:18下载
    积分:1
  • ACO_GA_PSO
    用三种方法解决城市距离问题(或背包问题)。三种方法分别为:遗传算法,蚁群算法,粒子算法。(Three ways to solve the problem of urban distance (or knapsack problem). Three methods are: genetic algorithm, ant colony algorithm, particle algorithm.)
    2014-09-23 14:46:22下载
    积分:1
  • nonlinear
    matlab蔡氏电路系统simulink仿真程序,只要只要改换参数即可(matlab code for chua sysytem,substitude different para can run)
    2021-03-19 17:49:18下载
    积分:1
  • farthest_insertion_2opt
    Fartest Insertion for TSP with 2-opt MATLAB
    2013-05-22 04:42:02下载
    积分:1
  • @mmrp
    matlab书籍类的创建一章,有理多项式对象类型的构造、显示、运算符和函数重载等一些列程序代码(matlab class to create a chapter book, the construction of rational polynomial object type, display, operator and function overloading and some out code)
    2010-07-18 10:44:15下载
    积分:1
  • MilliSecond
    说明:  介绍如何在自己的应用程序中实现毫秒级的控制。(control in million second。 )
    2010-03-28 09:28:23下载
    积分:1
  • _solar-program--
    this is solar cell matlab prog
    2012-04-28 22:15:49下载
    积分:1
  • DIRECTION-OF-ARRIVAL-MEASUREMENT
    DIRECTION-OF-ARRIVAL MEASUREMENT
    2014-02-20 10:40:52下载
    积分:1
  • bch
    说明:  BCH 编解码的MATLAB 实现。BCH码是一类重要而有效的纠正多个随机错误的循环码,由于该码具有严格的代数结构,所以是到目前为止研究得最为详尽、应用最为广泛的一类码,已有多种译码算法。(BCH codec of MATLAB. BCH is a kind of important and effective redress the wrong number of random cyclic code, as the code strictly algebraic structure, it is so far the most detailed study in, the most widely used type of a code has a variety of decoding algorithm.)
    2005-11-15 14:33:18下载
    积分:1
  • 696518资源总数
  • 106148会员总数
  • 10今日下载