-
work
matlab信号处理的100个简单程序,可以进行简单的信号处理学习编程知识。(MATLAB Signal Processing 100 simple procedure)
- 2013-03-23 22:15:12下载
- 积分: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
-
drtoolbox-version-0.8b
最新的流行学习降维工具箱,并且附上安装说明version 0.8b (18-April-2012)(the newest drtoolboxversion 0.8b (18-April-2012)and install readme)
- 2012-11-28 21:15:12下载
- 积分:1
-
pinpufenxi
包含有希尔伯特黄变换的主程序、边际谱的计算方法、并绘制了仿真信号的FFT频谱和功率谱,并调用emd分析方法,绘制了emd分解结果,以及瞬时包络和瞬时频率图,还有Hilbert-Huang谱和Hilbert边际谱(
Including the main program of the Hilbert Huang transform, marginal spectrum calculation method, and draw the simulation signal FFT spectrum and power spectrum, and call EMD analysis method, drawn EMD decomposition, and instantaneous amplitude and instantaneous frequency map and Hilbert spectrum and Hilbert marginal spectrum)
- 2015-06-18 16:45:24下载
- 积分:1
-
rs
说明: 使用matlab软件写的一个实现rs译码的小程序,适合初学看看(rs decode and encode)
- 2009-02-25 22:25:57下载
- 积分:1
-
Travel_Guide_-_Toronto
travel guide to toronto
- 2010-11-01 20:02:41下载
- 积分:1
-
matlab
该源代码的功能是用matlab来实现链码提取,内含测试图片及所用的算法源代码。(The source code s function is to use matlab to achieve the chain code extraction, containing pictures and used for testing the algorithm source code.)
- 2009-11-27 21:11:10下载
- 积分:1
-
ESPRIT
The source code for LS ESPRIT and TLS ESPRIT - an algorithm for channel parameter estimation.(The source code for LS ESPRIT and TLS ESPRIT- an algorithm for channel parameter estimation.)
- 2010-02-24 12:22:25下载
- 积分:1
-
matlab
一些matlab资料,对一些人应该有用,有帮助(Some matlab data, should be useful for some people and helpful)
- 2013-03-14 17:07:43下载
- 积分:1
-
jianhua levelset
在王煜程序基础上的,简化的水平集拓扑优化。(topology optimization based on level set method using upwind scheme,)
- 2017-06-07 11:40:59下载
- 积分:1