2019.11.27
% 滑动平均(均值滤波)
sliding_window = 5;
impulse_fft_tmp = impulse_fft_6k;
for i = 1+sliding_window:1:n-sliding_window
impulse_fft_tmp(i)=mean(impulse_fft_6k(i-sliding_window:i+sliding_window));
end
impulse_fft_6k = impulse_fft_tmp;
figure(3)
plot(impulse_fft_6k);