FUNCTION REFERENCE

movmedian

Moving median.

Moving median.

Syntax

y = movmedian(A, k[, dim][, nanflag][, 'Endpoints', e])

A scalar k centers each window, with one extra sample behind for even k. [kb kf] specifies the samples before and after. The default dimension is the first nonsingleton dimension. The default NaN policy is includenan; omitnan and includenan are accepted. Endpoints may be shrink (default), discard, fill, or a scalar. The input class is preserved.

Example

movmedian([1 5 3], 3)   % [3 3 4]

Differences from MATLAB: Complex data, SamplePoints and dimensions above 2 are not supported yet.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.