<< cummax FOSSEE Signal Processing Toolbox czt >>

FOSSEE Signal Processing Toolbox >> FOSSEE Signal Processing Toolbox > cummin

cummin

Cumulative minimum

Calling Sequence

M = cummin(A)
returns the cumulative minimum of the arguments of A. The dimension
of M is same as the dimension of A. If A is a 2D matrix, the operation
is performed along the columns. For a hypermatrix, the operation is
performed along the first non-zero dimension
M = cummin(A,dim)
The operation is performed along the dimension specified by dim
M = cummin(_,direction)
direction specifies as the direction of operation

Parameters

Examples

1) Cumulative minimum values in a vector
v = [8 9 1 10 6 1 3 6 10 10]
M = cummin(v)

Expected output: [8 8 1 1 1 1 1 1 1 1]

Authors

See also


Report an issue
<< cummax FOSSEE Signal Processing Toolbox czt >>