-
lu
说明: 在用混沌理论和神经网络进行短期负荷预测时,神经网络的输入的选择至关重要,该程序用matlabl实现了基于混沌时间序列的嵌入维数的选择(In chaos theory and neural networks with short-term load forecasting, neural network is essential to choose the input, the program implemented with matlabl chaotic time series based on the number of choices of embedding dimension)
- 2010-05-26 19:48:46下载
- 积分:1
-
circularconv
to find the circular convolution of one dimensional input
- 2012-08-09 14:40:50下载
- 积分:1
-
fir_h.m
FIR High pass filter simulation using matlab
- 2011-08-20 01:23:38下载
- 积分:1
-
srf05
SRF05 using Assembly language
- 2013-01-25 05:51:20下载
- 积分:1
-
PSO_AI
免疫粒子群算法的matlab源代码,自己设置优化函数(Immune particle swarm algorithm matlab source code, set up their own optimization function)
- 2021-04-11 10:38:58下载
- 积分:1
-
14
说明: Matlab从入门到精通中所有的源程序。(Matlab from entry to master all of the source.)
- 2009-10-09 01:46:30下载
- 积分:1
-
labvmare1
虚拟技术 ----vm ware 实验教程(virtual technology-vm ware experimental Guide)
- 2006-12-27 16:00:57下载
- 积分:1
-
marshi
用matlab计算马氏距离,简单直接,但是手懒,没中文说明部分(外国例程)(Mahalanobis distance calculation with matlab, simple and direct, but the lazy hand, no Chinese explanation part of the (foreign routines))
- 2011-07-17 09:46:06下载
- 积分:1
-
xiangguanfenxifa
利用相关分析法对系统进行辨识,使用matlab,能够成功辨识出系统传递函数(Correlation analysis method using the system identification, the use of matlab, can successfully identify the system transfer function)
- 2013-09-24 14:43:10下载
- 积分: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