meanΒΆ
mean returns the mean of its parameter. When the argument is a matrix, a row vector will be created containing the mean values of the matrix columns.
- rvMean = mean(rmMat)
Return Value
rvMean is the mean of the vector rmMat.
Parameters
- rmMat
rmMat is a real or complex vector or matrix.
Example
* mean([1,2,3])
2
See also
id-1538724