-
Kalman-filter
simulation to determine the attitude of a rotating space craft using an extended Kalman filter
- 2015-01-25 01:57:08下载
- 积分:1
-
IEEE33Newton
《电力系统分析》算例在matlab上的实现,使用IEEE33节点配电网牛顿拉夫逊潮流计算程序,程序里有大量注释利于初学者阅读学习。(Matlab implementation example in the Power System Analysis operator, distribution network node using IEEE33 Newton Raphson power flow calculation program, the program has a lot of comments conducive to beginners learning to read.)
- 2021-04-14 23:28:55下载
- 积分:1
-
PC and MTD
二相编码信号的产生及脉冲压缩和MTD处理(Generation of Two - Phase Coded Signals and Pulse Compression and MTD Processing)
- 2017-07-02 15:37:42下载
- 积分:1
-
MATLABtech42
说明: MATLAB在六维腕力传感器系统标定中的应用,学习Matlab的好东西。(MATLAB in the six-axis wrist force sensor system calibration of the application, learning the good things Matlab.)
- 2008-09-19 20:24:59下载
- 积分:1
-
superpixels
超像素块算法,已经试过绝对好用,sp_demo.m是主程序,用之前需要将c++和matlab建立联系(Super-pixel block algorithm' ve tried absolutely easy to use, sp_demo.m main program before using the c++ and matlab establish contact)
- 2013-04-14 10:01:03下载
- 积分:1
-
p1ds
Program for solving the steady one-dimensional convection/diffusion equation.
- 2009-09-07 05:00:44下载
- 积分:1
-
optionpricing
运用explicit,implicit, crank-nicolson方法计算美式期权以及带分红的美式期权(using explicit,implicit, crank-nicolson methods to calculate american options)
- 2010-07-15 17:17:41下载
- 积分: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
-
GameOfLife
利用MATLAB模拟的细胞自动机程序,可以借用来研究怎么写此类程序(Using MATLAB simulation of cellular automata program, you can borrow to study how to write such programs)
- 2010-05-06 10:24:27下载
- 积分:1
-
LVBO
变频调速滤波仿真建模构建模型 用于仿真观测波形(Frequency conversion filter simulation modeling Used for simulation observation waveform
)
- 2012-05-29 12:27:33下载
- 积分:1