.. highlightlang:: us .. index:: mean .. _mean: mean ==== .. us.tag mean ENGLISH math-base :ref:`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. .. function:: rvMean = mean(rmMat) .. us.return **Return Value** *rvMean* is the mean of the vector *rmMat*. .. us.params **Parameters** .. uparam:: rmMat *rmMat* is a real or complex vector or matrix. .. us.example **Example** :: * mean([1,2,3]) 2 .. seealso:: :ref:`overview-mathematic`, :ref:`sum` :sub:`id-1538724`