-
Screening-and-m-prime-number
用筛选法求m内的素数,给一个数求其是几位数,并输出每位数(Screening and m within a prime number, give a number for its several numbers, and the number of output per person.
)
- 2012-04-24 18:39:12下载
- 积分:1
-
Newton
用MATLAB实现最速下降法_牛顿法和共轭梯度法求解实例(Using MATLAB steepest descent method _ Newton method and conjugate gradient method for solving examples)
- 2015-06-07 15:55:20下载
- 积分:1
-
IMM-three
基于三个模型的目标跟踪,中心角速度为0.偏移角速度固定。能够解决轨迹为非线性的目标的跟踪。自带轨迹。(Target tracking based on the three models, the central angular velocity is 0. Offsets the fixed angular velocity. Can solve the trajectory tracking of nonlinear target. Own trajectory.)
- 2011-05-12 16:04:51下载
- 积分:1
-
Digital_clock_7_seg
Digital clock simulation in Matlab
- 2015-01-07 12:55:09下载
- 积分: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
-
STC-MCU-10-11-12C5A-GUIDE
51全面参考书籍,非常好,有需要的请尽快下载。(51book,download be quick
!)
- 2012-03-24 17:02:51下载
- 积分:1
-
RSP_High_Resolution
高分辨率雷达信号处理,PDF文档,送给感兴趣的朋友。(high-resolution radar signal processing, PDF files, as well as to interested friends.)
- 2006-12-25 11:18:47下载
- 积分:1
-
DigitalSignalProcessing
MATLAB环境下小波变换的英文书籍,介绍了MATLAB编程、滤波器、正弦曲线、傅里叶变换、Z变换、小波变换并介绍了几个应用例子(English contents: 1.Introduction 2.MATLAB 3.Filters 4.Sinusoids 5.Sampling 6.The Fourier Transform 7.The Number e 8. The z-Transform 9.The Wavelet Transform 10.Applications )
- 2014-10-31 14:58:59下载
- 积分:1
-
PSNR
%本程序功能是计算2幅彩色图像的PSNR,以此来评价图像处理的效果%%%%%%%%%
% 运行的结果保存在变量PSNR中( This program features the calculation of two color images of the PSNR, in order to evaluate the effect of image processing the results of running stored in variables in PSNR)
- 2008-01-15 21:56:47下载
- 积分:1
-
ch5
MATLAB高级讲义实例5(SIMULINK仿真基础)(MATLAB examples of senior notes 5 (SIMULINK simulation based))
- 2008-08-17 17:44:16下载
- 积分:1