-
Commonlyusedmathematicalmodelingalgorithmtoolbox
数学建模常用算法工具箱.......内附
详细说明(Commonly used mathematical modeling algorithm toolbox. Zip)
- 2010-09-20 14:49:56下载
- 积分:1
-
goldbach
问题描述:
哥德巴赫猜想:任何大偶数均可表示为2 个素数之和。(Problem Description: Goldbach conjecture: any large even number can be expressed as two Primes.)
- 2008-05-05 22:11:30下载
- 积分:1
-
BayesianBandwidth
Bayesian Bandwidth Selection
- 2010-02-18 13:38:13下载
- 积分:1
-
attachments_2011_09_13-(1)
Its a documentation based on different field of image processing,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
- 2012-04-20 19:18:54下载
- 积分:1
-
Gabor_Image
Matlab function to apply Gabor filter to an image.
- 2009-11-13 16:53:55下载
- 积分:1
-
buildgui
MATLAB的GUI教程,GUI的基本说明与操作以及部分实例,内容为英文(MATLAB GUI guides, a basic description of the GUI and operating, and some examples, says English)
- 2007-06-18 01:54:29下载
- 积分:1
-
MMA
经典的移动渐进优化算法matlat源代码,非常实用。(The classic mobile gradual optimization algorithm matlat source code, very useful.)
- 2021-04-26 09:48:46下载
- 积分: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
-
e
makanyabi fault in the generator
- 2013-07-26 10:00:14下载
- 积分:1
-
yuimie
小波包分析提取振动信号中的特征频率,关于小波的matlab复合分析,BP神经网络用于函数拟合与模式识别。( Wavelet packet analysis to extract vibration signal characteristic frequency, Matlab wavelet analysis on complex, BP neural network function fitting and pattern recognition.)
- 2016-07-18 18:16:42下载
- 积分:1