win.nutt: Nuttall window function

Description Usage Arguments Details See Also

View source: R/windowfunctions.R

Description

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

Usage

1
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π n/M) + a_3 \cos(4π n/M) - a_4 \cos(6π n/M) + a_5 \cos(8π 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


spectral documentation built on March 29, 2021, 5:10 p.m.

Related to win.nutt in spectral...