Command Reference
:
Function Reference
:
Function Reference: C
@cmax
Matrix Column Statistics
Maximal value in each column of a matrix.
Syntax:
@cmax
(
m
)
m
: matrix
Return: vector
Returns a vector containing the maximal values of each column of
m
.
Examples
Let ID be an
identity matrix. Then
= @cmax(id)
returns a column vector of
ones.
Cross-references
See also
@cimax
,
@cimin
, and
@cmin
.