BartHannWin
Advanced Analysis Library Only
AnalysisLibErrType BartHannWin (double signal[], ssize_t numberOfElements);
Purpose
Applies a modified Bartlett-Hann window to a real signal. If y represents the output sequence signal, BartHannWin obtains the elements of y using the following equation:
for i = 0, 1, 2, ..., n – 1, where n is the number of elements in signal.
This function applies an unsymmetrical modified Bartlett-Hann window to the input signal. If you want to apply a symmetrical modified Bartlett-Hann 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 signal. |
Output | ||
Name | Type | Description |
signal | double [] | On input, the input signal. On output, this parameter returns the input signal with a modified Bartlett-Hann 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 8.1 and later