mean

Purpose

Average or mean value of vectors and matrices.

Synopsis

m = mean(X)

Description

mean(X), where X is a vector, is the mean value of the elements in vector X. For matrices, mean(X) is a row vector containing the mean value of each column.

See Also

corrcoef, cov, median, std

(c) Copyright 1994 by The MathWorks, Inc.