-
TS
说明: TSP问题,即旅行商问题,matlab环境下可以运行(TSP problem, that is, traveling salesman problem, matlab environment can run)
- 2008-12-08 16:00:21下载
- 积分:1
-
huhu
matlab离散系统仿真程序电子系课程设计(Department of Electronics, curriculum design of Matlab discrete system simulation program)
- 2012-05-25 18:56:33下载
- 积分:1
-
LFM
线性调频LFM脉冲压缩雷达仿真,线性调频脉冲压缩的Matlab程序,Word说明,运行结果(LFM LFM pulse compression radar simulation, LFM pulse compression of the Matlab program, Word shows, the results)
- 2009-09-09 21:23:58下载
- 积分:1
-
truetime
truetime 安装包及其说明,作为matlab的工具箱,用来处理网络问题(TrueTime installation package and basic introduction, as the Matlab toolbox, used for real-time simulation network)
- 2014-02-21 09:41:31下载
- 积分:1
-
antena
this is good code source for the main task in antenna study that is the optimization
- 2020-06-22 01:40:02下载
- 积分: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
-
Matlabgongjuxiang
说明: MATLAB工具箱,涵盖了各种MATLAB的程序,数学建模有力武器,祝大家成功。(MATLAB toolbox, covering a wide range of MATLAB procedures, mathematical modeling of a powerful weapon, I wish you all success.)
- 2009-08-16 00:16:10下载
- 积分:1
-
yigechepaishibiedechengxu
这个是收集的一个用matlab编写的车牌定位的程序,很好用的!(This is a collection of using Matlab positioning plates prepared by the procedure is useful!)
- 2006-06-09 10:00:12下载
- 积分:1
-
IEEE14jiedianchaoliujisuan
IEEE14节点系统潮流计算算例,直接可以运行(IEEE14bus power flot )
- 2014-09-20 01:38:22下载
- 积分:1
-
buck_boost
DC-DC升降压电路,主要实现升压和降压功能,采用PI电压电流双环控制(DC-DC buck-boost circuit, the main step-up and step-down function, using the PI voltage and current loop control)
- 2013-12-21 10:08:40下载
- 积分:1