CxChebWin
Advanced Analysis Library Only
AnalysisLibErrType CxChebWin (NIComplexNumber arrayX[], ssize_t numberOfElements, double ratio);
Purpose
Applies an unsymmetrical Dolph-Chebyshev window to a complex signal. If y represents the output sequence arrayX, CxChebWin obtains the elements of y using the following equation:
where n is the number of elements in arrayX, s is the height ratio of the mainlobe to the sidelobe in dB, and the m-th order Chebyshev polynomial is
If you want to apply a symmetrical Dolph-Chebyshev window, call SymWin instead.
This function performs the window operation in place; that is, the windowed data replaces the input data.
Parameters
Input | ||
Name | Type | Description |
numberOfElements | ssize_t | The number of elements in arrayX. |
ratio | double | The height ratio of the mainlobe to the sidelobe in dB. If ratio < 0, the function uses 0 for ratio instead. |
Output | ||
Name | Type | Description |
arrayX | NIComplexNumber [] | On input, the input signal. On output, this parameter returns the input signal with a Dolph-Chebyshev window applied. |
Return Value
Name | Type | Description |
status | AnalysisLibErrType | A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants. |
Additional Information
Library: Advanced Analysis Library
Include file: analysis.h
LabWindows/CVI compatibility: LabWindows/CVI 2012 and later