# ForceWin

Advanced Analysis Library Only

AnalysisLibErrType ForceWin (double arrayX[], int numberOfElements, double duty);

## Purpose

Applies a force window to the input signal using the following formula:

## Parameters

Input
Name | Type | Description
numberOfElements | integer | Number of elements in the input array, arrayX.
duty | double-precision | Duty cycle, in percent, of the force window. Default Value: 50.0.
Output
Name | Type | Description
arrayX | double-precision array | On input, the input signal. On output, the signal after ForceWin applies the force 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.