Cosine Tapered Window (CDB) VI
- Updated2025-07-30
- 2 minute(s) read
Applies a cosine tapered window to the input sequence X. Wire data to the X input to determine the polymorphic instance to use or manually select the instance.

Inputs/Outputs
X
—
X is the complex valued input sequence.
ratio
—
ratio is the ratio of the length of the tapered section to the length of the entire signal. The default is 0.2.
Windowed X
—
Windowed X is the input signal with the window applied.
error
—
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. |
If y represents the output sequence Windowed X, the Cosine Tapered Window VI obtains the elements of y using the following equation:

where
,

If r ≤ 0, the window is equivalent to a rectangular window. If r ≥ 1, the window is equivalent to a Hanning window.
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Signal Processing\Windows\Window Comparison.vi
X
—
ratio
—
Windowed X
—
error
—