Description
Returns a row vector containing the average of each column of x,
where x is an integer, real, double-precision, or complex matrix.
The return value has the same type and column dimension as x.
If x is an integer matrix,
the fractional part of the return value is dropped.
Example
x = [{0., 2., 4.}, {0., -1., 1.}]
colmean(x)
returns
[ 2 , 0 ]