MeanΒΆ

Global Algorithm - One-Dimensional Algorithm

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

\[\mu = \frac{\sum_{i=1}^{N} Y_i}{N}\]

where \(Y_i\) denotes the \(i\)th value in the data set, \(N\) is the length of the data vector and \(\mu\) is the computed mean value.

Input Parameters

Parameter Type Constraint Description Remarks
\(Y\) \(Y \in \mathbb R^N\) \(N \in \mathbb{N}\) Input data vector of length \(N\)  

Output Parameters

Parameter Type Constraint Description Remarks
\(\mu\) \(\mu \in \mathbb 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