Admin Production ni-theme
Current Publication

CosTaperedWin

LabWindows/CVI

CosTaperedWin

Advanced Analysis Library Only

AnalysisLibErrType CosTaperedWin (double arrayX[], ssize_t numberOfElements);

Purpose

Note Note  This function has been superseded by CosTaperedWinEx.

Applies a cosine-tapered window to the input signal. If Y represents the output sequence, CosTaperedWin obtains the elements of Y from the following formula:

where
n is the number of elements in arrayX

Parameters

Input
Name Type Description
numberOfElements ssize_t Number of elements in x.
Output
Name Type Description
arrayX double [] On input, the input signal.

On output, this parameter returns the input signal with a cosine-tapered 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 3.1 and later