This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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.


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


Signal AnalyzerVisualize and compare multiple signals and spectra


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.