CxKsrWin
Advanced Analysis Library Only
AnalysisLibErrType CxKsrWin (NIComplexNumber arrayX[], ssize_t numberOfElements, double beta);
Purpose
Applies a Kaiser window to the complex input signal. If y represents the output sequence arrayX, CxKsrWin obtains the elements of y using the following equation:
for i = 0, 1, 2, ..., n – 1
where n is the number of elements in arrayX, and Io(·) is the zero-order modified Bessel function.
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 | Number of elements in arrayX. | ||||||||||||
beta | double | Shape used in the Kaiser window function. A larger beta results a narrower window.
For more information, refer to Discrete-Time Signal Processing by Oppenheim and Schafer, cited in the Bibliography. |
||||||||||||
Output | ||||||||||||||
Name | Type | Description | ||||||||||||
arrayX | NIComplexNumber [] | On input, the input signal. On output, this parameter returns the input signal with a Kaiser 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