Command Reference
:
Function Reference
:
Function Reference: C
@cmean
Matrix Column Statistics
Mean in each column of a matrix.
Syntax:
@cmean
(
m
)
m
: matrix
Return: vector
Returns a vector containing the mean values of each column of the matrix
m
.
Examples
Let MAT be an
matrix of IID exponential numbers with mean 1. Then
= @cmean(mat)
returns an
-vector whose elements are approximately 1 for large
.
Cross-references
See also
@csum
and
@coldemean