-
56628
Topic is the optimization of municipal domestic waste collection and transportation routes, the problem is: there are number of different load of garbage trucks set out the station experienced 32 garbage collection garbage and then returned to the station. Waste matrix of distances between poin...
- 2015-02-11 23:13:23下载
- 积分:1
-
matlab_midi
从MIDI文件中读取多基频,用于检测多基频的提取,是一个很好的方法,大家可以借鉴一下(MIDI multipitch )
- 2010-06-12 20:02: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
-
chapter03
algorithm for near and far fields
- 2012-04-13 04:56:07下载
- 积分:1
-
plots_GUI
Creating 2D And 3d ploting App with Graphical User Interfaces in MATLAB.
GUIs (also known as graphical user interfaces or UIs) provide point-and-click control of software applications, eliminating the need to learn a language or type commands in order to run the application.
MATLAB apps are self-contained MATLAB programs with GUI front ends that automate a task or calculation. The GUI typically contains controls such as menus, toolbars, buttons, and sliders. Many MATLAB products, such as Curve Fitting Toolbox, Signal Processing Toolbox, and Control System Toolbox, include apps with custom user interfaces. You can also create your own custom apps, including their corresponding UIs, for others to use.
- 2014-09-03 02:08:41下载
- 积分:1
-
Plot-Vdp-Oscillator
There is a matlab cod that Plotting outcomes of Van der Pol oscillator for µ varying bewteen 0 and 2. this is a model in dynamical system.
- 2013-08-22 16:23:35下载
- 积分:1
-
matlab版 PMV ppd计算程序
PMV、ppd计算程序,matlab版,精确。(PMV, ppd calculation procedures, matlab version, precise.)
- 2021-04-13 22:48:55下载
- 积分:1
-
my-code
Particle Swarm Optimazation code
- 2013-03-02 05:31:21下载
- 积分:1
-
TheFirstMatlabHomework
MATLAB 简单程序,源代码。。。 实现图像变换(Simple MATLAB program, the source code. . . Implementation of Image Transform)
- 2010-08-01 11:27:56下载
- 积分:1
-
GUI
里面是Matlab宝典丛书的源代码,应该来说对于学习Matlab的人员是很有用的(Matlab Books Collection which is the source, should be run for staff learning Matlab is useful)
- 2010-05-22 09:13:19下载
- 积分:1