Advanced Analysis Library Only
AnalysisLibErrType SymWin (double arrayX[], int numberOfElements, int windowType, double windowParameter);
Applies a symmetric window to a real signal. Symmetric windows are often used in digital filter design, whereas asymmetrical windows are often used in spectrum estimation. For a given window type, the coefficients of the n-point asymmetrical window are the same as the first n coefficients of the (n+1)-point symmetric window.
| Input | ||
| Name | Type | Description |
| numberOfElements | integer | The number of elements in arrayX. |
| windowType | integer | The type of window to apply. windowType must be one of the following values:
|
| windowParameter | double-precision | The window parameter. This parameter is referenced only if windowType is one of the following values:
|
| Output | ||
| Name | Type | Description |
| arrayX | double-precision array | On input, the input signal. On output, the output signal with the selected window applied. |
| Name | Type | Description |
| status | AnalysisLibErrType | A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants. |