SO3TangentVector.mean edit page

mean - Average or mean value of array This MATLAB function returns the mean of the elements of A along the first array dimension whose size does not equal 1.

Syntax

   M = mean(A)
   M = mean(A,"all")
   M = mean(A,dim)
   M = mean(A,vecdim)
   M = mean(___,outtype)
   M = mean(___,missingflag)
   M = mean(___,Weights=W)

Input

A Input data vector | matrix | multidimensional array | table | timetable
dim Dimension to operate along positive integer scalar
vecdim Vector of dimensions vector of positive integers
outtype Output data type "default" (default) | "double" | "native"
missingflag Missing value condition "includemissing" (default) | "includenan" | "includenat" | "omitmissing" | "omitnan" | "omitnat"
W Weighting scheme vector | matrix | multidimensional array

Example

openExample('matlab/MeanOfMatrixColumnsExample') openExample('matlab/MeanOfMatrixRowsExample') openExample('matlab/MeanOf3DArrayExample') openExample('matlab/MeanOfArrayPageExample') openExample('matlab/MeanOf8BitIntegerArrayExample') openExample('matlab/MeanExcludingNaNExample') openExample('matlab/WeightedMeanExample')

See also