FUNCTION REFERENCE

movmin

Moving minimum.

Moving minimum.

Syntax

y = movmin(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 omitnan; omitnan and includenan are accepted. Endpoints may be shrink (default), discard, fill, or a scalar. The input class is preserved.

Example

movmin([1 5 3], 2)   % [1 1 3]

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.