MeanΒΆ

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\) None

Output Parameters

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

Single Steps using the Algorithm