General Cosine Window VI

Owning Palette: Windows VIs

Requires: Full Development System

Applies a general cosine window to the input signal X. Wire data to the X input to determine the polymorphic instance to use or manually select the instance.

Details  Example

Use the pull-down menu to select an instance of this VI.

 Add to the block diagram  Find on the palette

General Cosine Window (DBL)

X is a real vector.
Cosine Coefficients is the coefficients that define the general cosine window.
Note  If Cosine Coefficients is an empty array, the VI sets Windowed X to an empty array, even if X is not empty.
Windowed X is the input signal with the window applied.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

General Cosine Window (CDB)

X is the complex valued input sequence.
Cosine Coefficients is the coefficients that define the general cosine window.
Note  If Cosine Coefficients is an empty array, the VI sets Windowed X to an empty array, even if X is not empty.
Windowed X is the input signal with the window applied.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

General Cosine Window Details

If a represents the Cosine Coefficients input sequence and y represents the output sequence Windowed X, the General Cosine Window VI obtains the elements of y from

for i = 0, 1, 2, …, n – 1

,

where n is the number of elements in X, and m is the number of Cosine Coefficients.

Example

Refer to the Window Comparison VI in the labview\examples\Signal Processing\Windows directory for an example of using the General Cosine Window VI.

 Open example  Find related examples