Delete the Noise of an array

Hello, I have an array with one column, but I have a lote of noise and I want to eliminate most of the noise in order to get a more precise signal.

Answers (1)

You could try conv() or sgolayfilt()
windowWidth = 21; % Increase for more smoothing.
smoothedSignal = conv(signal, ones(windowWidth)/windowWidth, 'same');

Asked:

on 23 Apr 2018

Answered:

on 23 Apr 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!