Contents Previous Next Subchapters

Computing The Maximum Element From Multiple Matrices
Syntax maxs(A1A2. . . , An)
See Also max , mins

Description
Returns the largest element out of all of the matrices listed as parameters. For each i, Ai is a character, integer, real, or double-precision matrix. If one of the Ai is a character matrix, all of the Ai must be character matrices.

The return value is a scalar with the same type as the matrix containing the largest element.

Example
     maxs([1, 2], 3, -5.12)
returns
     3