Largest element in array of `fi`

objects

returns
the largest elements along different dimensions of `x`

= max(`a`

)`fi`

array `a`

.

If `a`

is a vector, `max(a)`

returns
the largest element in `a`

.

If `a`

is a matrix, `max(a)`

treats
the columns of `a`

as vectors, returning a row vector
containing the maximum element from each column.

If `a`

is a multidimensional array, `max`

operates
along the first nonsingleton dimension and returns an array of maximum
values.

Was this topic helpful?