Noise elimination method based on MATLAB