Smoothing and Denoising

Savitzky-Golay smoothing, median and Hampel filtering, detrending

Remove unwanted spikes, trends, and outliers from a signal. Smooth signals using Savitzky-Golay filters, moving averages, moving medians, linear regression, or quadratic regression.

Functions

detrendRemove polynomial trend
filloutliersDetect and replace outliers in data
hampelOutlier removal using Hampel identifier
isoutlierFind outliers in data
medfilt11-D median filtering
movmadMoving median absolute deviation
movmedianMoving median
sgolaySavitzky-Golay filter design
sgolayfiltSavitzky-Golay filtering
smoothdataSmooth noisy data

Apps

Signal AnalyzerVisualize and compare multiple signals and spectra

Topics

Signal Smoothing

Discover important patterns in your data while leaving out noise, outliers, and other irrelevant information.

Remove Trends from Data

Take out irrelevant overall patterns that impede data analysis.

Remove the 60 Hz Hum from a Signal

Filter out 60 Hz oscillations that often corrupt measurements.

Remove Spikes from a Signal

Use median filtering to eliminate unwanted transients from data.

Reconstruct a Signal from Irregularly Sampled Data

Resample and interpolate data measured at irregular intervals.

Eliminate Outliers Using Hampel Identifier

Detect and remove outliers using a simplified implementation of the Hampel algorithm.