Advanced Analysis Library Only
AnalysisLibErrType ForceWin (double arrayX[], int numberOfElements, double duty);
Applies a force window to the input signal using the following formula:
| 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. |
| Name | Type | Description |
| status | AnalysisLibErrType | A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants. |