filt1d

1-dimensional rank filter

y = filt1d(x, options) is the minimum, maximum or median value (1xN) of the vector x (1xN) compute over an odd length sliding window.

Options

'max' Compute maximum value over the window (default)
'min' Compute minimum value over the window
'median' Compute minimum value over the window
'width', W Width of the window (default 5)

Notes


Machine Vision Toolbox for MATLAB © 1990-2014 Peter Corke.