clearall;clc;closeall; Sam_rate=128;%采样率 %Au=wavread('C:\Users\user\Desktop\drop.wav'); %len32=round(11.6/1000*32*Sam_rate*1024); %len1=round(11.6/1000*Sam_rate*1024); %Win_hann=hanning(len32); %f1=Au(1:len32,1); %Af1=f1.*Win_hann; %plot(Af1,'r');holdon;plot(f1) %F_f1=fft(f1); %F_Af1=f