FUNCTION REFERENCE
movmax
Moving maximum.
Moving maximum.
Syntax
y = movmax(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
movmax([1 5 3], 2) % [1 5 5]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.