-
main
梯度寻优,二阶模型的辨识,结果很准,工业控制热工传递曲线等(Gradient optimization, second-order model identification, the result is quasi-)
- 2009-11-15 12:46:41下载
- 积分:1
-
adaptivefilter
利用自适应陷波器对引入单频干扰的原始正弦信号进行恢复(The use of adaptive notch filter for the introduction of single-frequency interference for the restoration of the original sinusoidal signal)
- 2009-07-04 10:05:05下载
- 积分:1
-
zuixiaoercheng
用最小二乘法反应雷达得到的图像,得到各种数据特征参数(Reaction of the least square method to obtain the radar image data to obtain various characteristic parameters)
- 2013-10-03 09:52:07下载
- 积分:1
-
MATLAB-GUI-introdunce
MATLAB gui新手必备的,常用的一些控件回调函数程序段。(The MATLAB gui novice must, commonly used control callback function block.)
- 2013-05-11 10:29:01下载
- 积分:1
-
powell
这是用matlab写的powell优化算法程序。(This is written in matlab optimization algorithm powell procedures.)
- 2020-12-10 12:39:19下载
- 积分:1
-
201022817183340006
一个关于GMM实现的MATLAB的训练代码!很有用,用来检测纹理。(using to detection texture.)
- 2010-06-21 14:46:01下载
- 积分: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
-
alp_bet_convv
This model is very much useful in converting the normal three phase voltages to the corresponding alpha beta components
- 2013-12-11 13:46:43下载
- 积分:1
-
codes
some soucre code for clustering
- 2010-07-05 16:05:14下载
- 积分:1
-
resconstruct
利用小波分解实现对信号多尺度分解重构,程序简单。(Wavelet decomposition of signal multi-scale decomposition and reconstruction, the program simple.)
- 2010-09-14 09:31:26下载
- 积分:1