-
matlab
说明: 计算方法:函数平方逼近多项式的均方误差计算(Calculation method: function square mean square error of approximation calculation of polynomial)
- 2011-02-23 15:25:51下载
- 积分:1
-
Alamouti__2Tx_2Rx
Alamouti STBC coding for 2x2 mimo
- 2011-11-12 14:30:04下载
- 积分:1
-
movement_detecting
运动目标跟踪和检测程序,已经调试完成可以放心使用,性能较好,适用范围广。(The movement target tracking and the examination procedure, good performance.)
- 2010-10-14 09:52:02下载
- 积分:1
-
变尺度法
变尺度法的源程序,用于优化中的非线性规划,效还可以的。(variable scale method of the source for the optimization of nonlinear programming, the effect can be.)
- 2005-04-01 12:46:49下载
- 积分:1
-
programme
Source code of AFIS (pattern recognition)
- 2010-12-29 08:42:10下载
- 积分:1
-
011bpa
标准的IEEE11节点配电网系统电力网络图,两个格式的(Standard IEEE11 node with the grid system electricity network diagram, the two formats)
- 2021-03-31 15:09:09下载
- 积分:1
-
acoustic_communication
声波传输损耗,有利于节约你的时间,希望广大爱好程序计算者喜欢
(acoustic transmission loss)
- 2010-08-19 16:35:28下载
- 积分: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
-
position_control_ss
直流电动机的位置控制matlab实例,采用状态反馈方式(DC motor position control matlab instance, the use of state feedback methods)
- 2020-07-03 12:20:02下载
- 积分:1
-
zhimutongji
这是用matlab编写的一个统计字母的小程序,爱好matlab的可以下载(This is a statistical letter written in matlab small program, like the matlab download)
- 2011-09-27 19:28:17下载
- 积分:1