Median filter
y = medfilt1(x, w) is the one-dimensional median filter of the signal x computed over a sliding window of width w.
© 1990-2012 Peter Corke.