Mean

Global Algorithm - One-Dimensional Algorithm

Mean algorithm takes the average of the available values. The basic formula is stated as follows:

μ=Ni=1YiN

where Yi denotes the ith value in the data set, N is the length of the data vector and μ is the computed mean value.

Input Parameters

Parameter Type Constraint Description Remarks
Y YRN NN Input data vector of length N  

Output Parameters

Parameter Type Constraint Description Remarks
μ μR   Mean value of data values available in Y The result is sensitive to improper values such as ‘nan’, ‘inf’, ‘null, ‘etc.

Tool Support

  • Excel

    For details refer to the online documentation of the function ‘AVERAGE’.

  • Maple

    For details refer to the online documentation of the function ‘MEAN’.

  • Matlab

    For details refer to the online documentation of the function ‘mean’.

Single Steps using the Algorithm