Matlab中mean函数

因为平时要用到Matlab,其中的mean函数,暂不翻译,因为英文原文看起来易懂

MEAN   Average or mean value.

    For vectors, MEAN(X) is the mean value of the elements in X. For
    matrices, MEAN(X) is a row vector containing the mean value of
    each column.  For N-D arrays, MEAN(X) is the mean value of the
    elements along the first non-singleton dimension of X.
 
    MEAN(X,DIM) takes the mean along the dimension DIM of X. 
 
    Example: If X = [1 2 3; 3 3 6; 4 6 8; 4 7 7];
 
    then mean(X,1) is [3.0000 4.5000 6.0000] and 
    mean(X,2) is [2.0000 4.0000 6.0000 6.0000].'
 
    Class support for input X:
       float: double, single
 
    See also median, std, min, max, var, cov, mode.


    Overloaded methods:
       timeseries/mean
       fints/mean
       sweepset/mean
       ProbDistUnivParam/mean


    Reference page in Help browser
       doc mean

你可能感兴趣的:(Matlab中mean函数)