直流分量去除方法 直流分量即信号的均值,因此将原始数据直接减去其均值可消去。 y_data=y1-mean(y1); % 原始信号减去均值得到去直流分量后的信号 subplot(121);plot(y_data) y=fft(y_data,N)