# doc-cache created by Octave 7.3.0
# name: cache
# type: cell
# rows: 3
# columns: 1
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 4
mean


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1806
 -- Y = mean (X)
 -- Y = mean (X, "all")
 -- Y = mean (X, DIM)
 -- Y = mean (X, VECDIM)
 -- Y = mean (..., OUTTYPE)
 -- Y = mean (..., NANFLAG)

     Compute the mean of the elements of X.

        * If X is a vector, then 'mean(X)' returns the mean of the
          elements in X defined as

               mean (X) = SUM_i X(i) / N

          where N is the length of the X vector.

        * If X is a matrix, then 'mean(X)' returns a row vector with the
          mean of each columns in X.

        * If X is a multidimensional array, then 'mean(X)' operates
          along the first nonsingleton dimension of X.

     'mean(X, "all")' returns the mean of all the elements in X.

     'mean(X, DIM)' returns the mean along the operating dimension DIM
     of X.

     'mean(X, VECDIM)' returns the mean over the dimensions specified in
     the vector VECDIM.  For example, if X is a 2-by-3-by-4 array, then
     'mean(X, [1 2])' returns a 1-by-4 array.  Each element of the
     output array is the mean of the elements on the corresponding page
     of X.  NOTE! VECDIM MUST index at least N-2 dimensions of X, where
     'N = length (size (X))' and N < 8.  If VECDIM indexes all
     dimensions of X, then it is equivalent to 'mean(X, "all")'.

     'mean(..., OUTTYPE)' returns the mean with a specified data type,
     using any of the input arguments in the previous syntaxes.  OUTTYPE
     can be "default", "double", or "native".

     'mean(..., NANFLAG)' specifies whether to exclude NaN values from
     the calculation, using any of the input argument combinations in
     previous syntaxes.  By default, NaN values are included in the
     calculation (NANFLAG has the value "includenan").  To exclude NaN
     values, set the value of NANFLAG to "omitnan".

     See also: median, mode.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 38
Compute the mean of the elements of X.





