Learn R Programming

spectral (version 2.0)

win.nutt: Nuttall window function

Description

This window function returns a vector of weights with means of a Nuttall-window.

Usage

win.nutt(n, a = c(0.355768, 0.487396, 0.144232, 0.012604, 0))

Arguments

n

data vector to be windowed

a

coefficients default a = c(0.355768, 0.487396, 0.144232, 0.012604,0)

Details

This window function provides a continuous first derivative everywhere, like the Hann window. Adopted from the idea of Hann this window consists of up to 5 trigonometric polynominial terms, i.e.

$$w_{n} = a_1 - a_2 \cos(2\pi n/M) + a_3 \cos(4\pi n/M) - a_4 \cos(6\pi n/M) + a_5 \cos(8\pi n/M) $$

Different sets of coefficients:

Nuttall(Default) c(0.355768, 0.487396, 0.144232, 0.012604,0)
Blackman-Nuttall c(0.3635819, 0.4891775, 0.1365995, 0.0106411,0)
Blackman-Harris c(0.35875, 0.48829, 0.14128, 0.01168,0)
Flat-Top c(0.211557895, 0.41663158, 0.277263158, 0.083578947, 0.006947368)

See Also

Windowfunctions