FUNCTION REFERENCE

cummin

Cumulative minimum.

Cumulative minimum.

Syntax

M = cummin(A)

Syntax

M = cummin(A, dim)

Syntax

M = cummin(A, 'reverse')

Syntax

[M, I] = cummin(A)

Same as cummax with the running minimum.

Example

cummin([5 3 4; 1 6 2], 2)   % [5 3 3; 1 1 1]

Differences from MATLAB: no integer or single classes. The second output I is a

MatRust extension; MATLAB accepts only one output. Ties in I take the first index.

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