-
Ackley1
Ackley测试函数,经过实验的确可以用,哈哈,分享给大家(Ackley test function, indeed can be used through the experiment, ha ha, for everyone to share)
- 2011-09-01 14:49:52下载
- 积分:1
-
signal_analyzer
说明: 最近看到有人提问怎样用FFT实现频谱分析,我认为能够进行到频谱分析的人,对于系统研究的深度基本上已经相当不错了。本人今天做了一个例程,发给大家参考一下。
历程主要内容(signal_analyzer.rar)如下:
test1.txt 第一列为时间t,0.001s为步长;第二列为系统的输入信号;第三列为系统的输出信号。
signal_analyzer.m首先将test1.txt 的数据读入workspace,然后进行FFT,分析出两信号的频率,输出对于输入的幅值衰减(db),输出对输入的相位差。(The question was asked recently to see the realization of how to use FFT spectral analysis, I think that spectral analysis can be carried out to those who study the depth of the system basically is already quite good. Today I made a routine, distributed to Members for reference. The main contents of the course (signal_analyzer.rar) are as follows: test1.txt the first time as t, 0.001s for the step the second as the system input signal the third as a system output signal. signal_analyzer.m first test1.txt data read into workspace, and then proceed to FFT, analysis of the two signal frequency, output amplitude for input attenuation (db), the output of the input phase difference.)
- 2008-10-25 10:29:35下载
- 积分:1
-
DoublyFed
双馈电机模型,给刚学双馈电机的好的帮助,希望对大家有帮助。。。(dfig moxing,)
- 2011-11-26 21:13:15下载
- 积分:1
-
modul-matlab
modul pelatiah matlab berbahasa indonesia
- 2014-02-11 11:05:01下载
- 积分:1
-
wiener_ch2
求解出在最小均方误差滤波器单位冲激函数h(n)。求解过程需要通过利用循环嵌套的编程思想,比较在逐次增加滤波器阶数的过程中得到的最小均方误差与最初设定的最小均方误差的阈值,当达到要求时,可以进一步确定滤波器的阶数。(how to use this function:
[hx,hy]=wiener_ch2(w,N)
)
- 2009-11-06 20:58:09下载
- 积分:1
-
doubleDOA
多目标DOA估计,均匀线阵,波达方向,线形调频信号,(many DOA estimation,ULA,Driection of arrival,LFM)
- 2012-07-14 10:08:28下载
- 积分:1
-
lingxingbiaoding
一种基于菱形的摄像机参数标定方法,方法更加新颖(Based on Diamond' s camera calibration method, more innovative methods)
- 2010-06-03 19:48:07下载
- 积分: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
-
newfft
自己设计的新型FFT算法,用MATLAB仿真通过,绝对好用的源码。可以发论文。包括了FFT经典算法和改进算法的c实现(Designed a new type of FFT algorithm, through the use of MATLAB simulation, the source is absolutely easy to use. Papers can be made. Includes the classic FFT algorithm and improved algorithm for the realization of c)
- 2009-05-03 17:06:05下载
- 积分:1
-
pcaimage
a trial version of PCA and Knn to face recognition. This file is not a full version of a code knn, however it is a good approach to start one.
- 2011-05-11 05:10:55下载
- 积分:1