Xceed Chart for WinForms v4.4 Documentation
Exponential Average
Welcome to Xceed Chart for WinForms v4.4 > User Guide > Data Manipulation > Functions > Exponential Average

Syntax

EXPAVG(A1; weight)

Arguments

A1 must be an array.
The 'weight' argument is the exponential weight: a constant between 0 and 1.

Result

The result is an array.

Description

The function calculates the exponential average of the input array. The formula is: 

Result[n] = A1[n] * weight + A1[n-1] * (1 - weight)

Related Examples

Windows Forms: Data Manipulation\Functions\General Purpose Functions 1