%语音读入global X T xx,fs,bits=wavread(4.wav); sound(x,fs,bits); T=1/fs;X=fft(x,4000);axes(handles.axes1),plot(x);title(原始信号时域图);xlabel(时间)ylabel(幅值)axes(handles.axes2),plot(abs(X); title(原始信号频谱图);xlabel(频率/Hz);ylabel(幅值);%预加重global x xx xx=double(x);xx=filter(1 -0.9375,1,xx);%通过一个一阶高通滤波器进行滤波XX=fft(xx,4000);%figure(2);axes(handles.axes3),plot(xx);title(预加重后信号波形);xlabel(时间)ylabel(幅值)axes(handles.axes4),plot(abs(XX);title(预加重后信号频谱