-
xiaobobianhuan
连续小波变换程序算例 新手可以用来参考参考(Continuous wavelet transform procedures for novice operator can be used to refer to refer to cases of)
- 2010-03-15 15:15:37下载
- 积分:1
-
New-folder
TG11 M-file for TG11.fig
TG11, by itself, creates a new TG11 or raises the existing
singleton*.
- 2013-07-20 14:41:05下载
- 积分:1
-
xihua3
在MATLAB环境下的一组汉字识别算法程序,忘能给MATLAB爱好者带来一定的帮助(In the MATLAB environment, a group of Chinese character recognition algorithm program MATLAB enthusiasts forget to give some help)
- 2010-05-17 00:05:09下载
- 积分:1
-
智能微电网粒子群优化算法 Smart-Microgrid-PSO
智能微电网粒子群优化算法,微源:光伏、风机、发电机、储能等(Smart Microgrid PSO, micro sources: photovoltaic, wind turbines, generators, energy storage, etc.)
- 2021-03-31 19:49:08下载
- 积分:1
-
directcontrol
Mid-point voltage regulation of a transmission line
- 2015-08-18 21:00:47下载
- 积分:1
-
msxwaveletdefshift
用matlab中的小波分析方法实现数据处理中的小波动,可用于例程学习(Using matlab in the wavelet analysis method to achieve data processing of small fluctuations, can be used for routine learning)
- 2008-05-05 16:32:18下载
- 积分:1
-
DC_Converter
电力仿真软件PSCAD直流转化器模型,很好的参考资料(Power simulation software PSCAD DC converter model, a good reference)
- 2012-11-27 19:24:05下载
- 积分:1
-
kuka_test2
实现了六自由度机械臂末端探点的多项式插值方式的轨迹规划(
Polynomial interpolation method to achieve the six degrees of freedom manipulator end point of the probe trajectory planning)
- 2016-03-08 19:11:42下载
- 积分: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
-
bilinearinterpolationalgorithm
采用matlab语言描述的双线性插值算法。(Based on matlab language describe bilinear interpolation algorithm.)
- 2012-03-22 17:17:05下载
- 积分:1