minΒΆ

min finds the smallest element of a vector or the smallest element of each matrix column.

r = min(m)

Return Value

r is a scalar, if m is a vector. r is a row vector, if m is a matrix. The column vector contains the smallest elements of each matrix column.

Parameters

m

m is a real, complex or string matrix.

Comment

For complex matrices m, the function compares the absolute values.

id-1622846