-
LPC900ICPSpecen
When the P89LPC90x is in programming mode all pins that are not used for programming are tri-stated. During
programming mode the reset pin has a weak pull-up resistor.(When the programming is in a mode 'll pins that are not used for programming are tri- stated. During programming mode the reset pin has a weak pull-up resistor.)
- 2007-06-15 14:32:43下载
- 积分:1
-
MainForPhaseAngle
修改自pudn的fm_gui_v2.基于相位相关方法(傅里叶变化),可有效实现任意大小两图的位移、尺度变化、旋转量,并输出拼接结果(Modified pudn of fm_gui_v2. Based on phase correlation method (Fourier transform), which can effectively achieve the displacement of any size, the two figures, the scale changes, the amount of rotation, and outputs the result stitching)
- 2015-04-21 20:32:50下载
- 积分:1
-
RS_BCH
Author: wei liu
Summary: simulation of binary and non-binary bch decoder
MATLAB Release: R14SP1
Required Products: Communications Toolbox
Description: simulation of binary bch decoding algorithm for bch(n, k) with t bits error correction capability.
- 2007-08-29 20:41:35下载
- 积分:1
-
MT-coba-terakhir
Forward Modeling 1 dimension Magnetotelurik
- 2015-02-17 15:52:28下载
- 积分:1
-
pso
典型的粒子群算法的matlab程序,附带详细注释(typical PSO algorithm with detailed annotation
)
- 2013-07-17 10:15:06下载
- 积分:1
-
DigitalSpeechProcessingCode
数字语音处理及MATLAB仿真[张雪英][程序源代码](source code of Digital Speech Processing written by xueying zhang)
- 2011-05-12 13:04:06下载
- 积分:1
-
FDTD_PBCv1.0_P
用MATLAB编写的利用有限差分时域法仿真电磁带隙天线的代码,非常有用(EBG Antenna analysis based on FDTD using matlab)
- 2009-10-13 09:18:35下载
- 积分: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
-
Chap_5_MVDR
This is About MVDR beamforming techniques which matlab codes
- 2011-07-22 07:45:50下载
- 积分:1
-
duomeiti
bicubic.m bilinear.m nearest.m多媒体实验m文件 用matlab软件实现(bicubic.m bilinear.m nearest.m)
- 2010-06-27 09:48:23下载
- 积分:1