AVGS

Purpose:

Computes the point by point mean of any number of input series.

Syntax:

AVGS(series1, series2, ..., seriesN )

seriesN

-

One or more series.

Returns:

A series or table.

Example:

W1: {3, 5, 7, 9, 3}

W2: {9, 8, 4, 2, 1}

W3: avgs(W1, W2)

 

W3 == {6.0, 6.5, 5.5, 5.5, 2.0}, the result of averaging W1 and W2 (i.e. (W1+W2)/2.0).

Example:

avgs(W1, W2, W6, W7, W9)

 

creates a new series by averaging the series in the listed Windows

(i.e. (W1 + W2 + W6 + W7 + W9) / 5.0).

Example:

avgs(W3..W8)

 

averages Windows 3 through 8, i.e. (W3 + W4 + W5 + W6 + W7 + W8) / 6.0.

Remarks:

AVGS operates on Real or Complex input and returns Complex output if any of the input is Complex.

 

If the input series are of different lengths, all series are padded with point values of 0.0 to the length of the longest series.

 

See VAVGS to compute the point by point mean value of input values where input series are not padded.

See Also:

MEAN

SUMS

VAVGS

VMEAN