Calculates the mean value of a series.
MEAN(series, first, points)
series |
- |
Optional. A series, defaults to the current Window. |
first |
- |
Optional. An integer, the first point to include in the calculation of the mean. Defaults to 1. |
points |
- |
Optional. An integer, the number of points to include in the mean calculation. Defaults to the number of points from first to the end of the series. |
A real.
mean(gsin(200,0.01))
returns -5.592748E-016.
mean(gsin(200,0.01),1,50)
returns 0.636410.
The sample mean is define as:
MEAN operates on Real or Complex series.
See COLMEAN to determine the mean of each column of an array.
MEAN ignores NaN values.