Advanced Analysis Library Only
AnalysisLibErrType CosTaperedWin (double arrayX[], int numberOfElements);
![]() |
Note This function is obsolete. National Instruments recommends that you use CosTaperedWinEx instead. |
Applies a cosine-tapered window to the input signal. If Y represents the output sequence, CosTaperedWin obtains the elements of Y from the following formula:
where | ![]() |
n is the number of elements in arrayX |
Input | ||
Name | Type | Description |
numberOfElements | integer | Number of elements in the input array, arrayX. |
Output | ||
Name | Type | Description |
arrayX | double-precision array | On input, the input signal. On output, the signal after CosTaperedWin applies the cosine-tapered 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. |