How can I remove noise from my graph?

I recently conducted an experiment involving water oscillations and I have a lot of noise. What are some methods to remove it? Thank you for your time.

Answers (2)

The most straightforward option is using a filter to remove the noise. This works if the noise has a different spectral content than the signal (e.g. signal is bandlimited, noise is white -> a lowpass filter can be used to reduce the amount of noise).
Functions for digital filter design and application can be found in the signal processing toolbox.
For 1-D signals, you might try sgolayfilt() or movmean() or smooth(). For 2-D signals (images) see https://users.soe.ucsc.edu/~milanfar/publications/journal/ModernTour.pdf

Asked:

on 22 Sep 2017

Answered:

on 22 Sep 2017

Community Treasure Hunt

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

Start Hunting!