Contents Previous Next Subchapters

Determining The Maximum Element of a Matrix
Syntax max(matrix)
See Also pmax , maxs , mins , colmax , colrange

Description
Returns the maximal element in matrix where matrix is an integer, real or double-precision matrix. The return value is a scalar with the same type as matrix.

Example
     max({[1, 2], [8, 3]})
returns
     8