# ExpWin

Advanced Analysis Library Only

AnalysisLibErrType ExpWin (double arrayX[], int numberOfElements, double final);

## Purpose

Applies an exponential window to the input signal. If Y represents the output sequence, ExpWin obtains the elements of Y using the following formula:

Yi = Xieai

where |
| f is the final value
| n is the number of elements in arrayX

## Parameters

Input
Name | Type | Description
numberOfElements | integer | Number of elements in the input array, arrayX.
final | double-precision | Final value of the exponential window function. Default Value: 0.01.
Output
Name | Type | Description
arrayX | double-precision array | On input, the input signal. On output, the signal after ExpWin applies the exponential window.

## Return Value

Name | Type | Description
status | AnalysisLibErrType | A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants.