"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.
Due to its odd size the window is always symmetric around the point of interest.
- M, which is half the window size - 1.
y = MedianFilt(x,M);
Schreiber noise reduction, SVD noise reduction (SVDNR).