Advanced Analysis Library Only
AnalysisLibErrType GenCosWin (double XArray[], int numberXElements, double A_Array[], int numberAElements);
Applies a general cosine window to the input signal. If Y represents the output sequence, GenCosWin obtains the elements of Y using the following formula:
where | a is the array of coefficients |
na is the number of coefficients | |
n is the number of elements in XArray |
Input | ||
Name | Type | Description |
numberXElements | integer | Number of elements in the input array, XArray. |
A_Array | double-precision array | Coefficients used in the General Cosine Window. |
numberAElements | integer | Number of elements in A_Array. |
Output | ||
Name | Type | Description |
XArray | double-precision array | On input, the input signal. On output, the signal after GenCosWin applies the general cosine 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. |