Applies a cosine tapered window to the input sequence X. The data type you wire to the X input determines the polymorphic instance to use.
Use the pull-down menu to select an instance of this VI.

![]() |
X is a real vector. |
![]() |
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 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. |

![]() |
X is the complex valued input sequence. |
![]() |
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 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. |
If y represents the output sequence Windowed X, the Cosine Tapered Window VI obtains the elements of y using the following equation:

where
,
n is the number of elements in X,
r is the ratio of the total length of the tapered section to the whole signal length as shown below:

If r
0, the window is equivalent to a rectangular window. If r
1, the window is equivalent to a Hanning window.
Refer to the Window Comparison VI in the labview\examples\analysis\windxmpl.llb for an example of using the Cosine Tapered Window VI.