min

Navigation:  Language Reference > Functions > Matrix >

min

Previous pageReturn to chapter overviewNext page

Syntax

y = min(A);

Description

Returns the value of the smallest matrix element of A.

Examples

A = [1,2;3,ramp(1)];

y = min(A);

Limitations

y must be a scalar.