Advanced Analysis Library Only
AnalysisLibErrType ChebWin (double arrayX[], int numberOfElements, double ratio);
Applies an unsymmetrical Dolph-Chebyshev window to a real signal. To apply a symmetrical Dolph-Chebyshev window, call SymWin instead. If y represents the output sequence Chebyshev{X}, this function obtains the elements of y from the following equation:
where the m-th order Chebyshev polynomial is
Input | ||
Name | Type | Description |
numberOfElements | integer | The number of elements in arrayX. |
ratio | double-precision | The height ratio of the mainlobe to the sidelobe in dB. |
Output | ||
Name | Type | Description |
arrayX | double-precision array | On input, the input signal. On output, the output signal with a Dolph-Chebyshev 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. |