Contents
Previous
Next
Subchapters
Current Chapters->
abs
sqrt
max
pmax
maxs
mins
conj
imag
sign
floor
ceil
round
roundoff
mod
rem
colunmod
unwrap
factorl
primes
Parent Chapters->
Omatrix6
elementary
algebraic
max
Search Tools->
contents
reference
index
search
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