Contents Up Previous Next

Median filter

Purpose
Description
Macro Synopsis
Modules
Related Functions


Purpose

Median filter

Description

"Median filter" computes the pointwise median of the signal x. The median of a set is defined as the middlemost value of an ordered table of the set values. This function calculates the median inside a sliding window of the given size.

"Median filter" can be used as a noise reduction method.

Parameter is

Due to its odd size the window is always symmetric around the point of interest.

Macro Synopsis

y = MedianFilt(x,M);
signal x,y;
int M;

Modules

Nonlinear

Related Functions

Schreiber noise reduction, SVD noise reduction (SVDNR).