Admin Production ni-theme
Current Publication

NumericWinProperties

LabWindows/CVI

NumericWinProperties

Advanced Analysis Library Only

AnalysisLibErrType NumericWinProperties (double coefficients[], int numberOfCoefficients, WindowConst *windowConstants);

Purpose

Computes the coherent gain and equivalent noise bandwidth of a window numerically. The coherent gain and equivalent noise bandwidth of a given window are defined as follows:

noloc_eq_winprop1.gif
noloc_eq_winprop2.gif

where wi are the window coefficients and n is the number of coefficients.

Parameters

Input
Name Type Description
coefficients double [] The coefficients of the window.
numberOfCoefficients int The number of elements in coefficients.
Output
Name Type Description
windowConstants WindowConst The equivalent noise bandwidth (ENBW) and coherent gain of the window defined by coefficients.

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.0 and later