Return the filter coefficients of a Blackman-Harris window defined by Nuttall
of length n
.
nuttallwin(n, method = c("symmetric", "periodic"))
Window length, specified as a positive integer.
Character string. Window sampling method, specified as:
(Default). Use this option when using windows for filter design.
This option is useful for spectral analysis because it
enables a windowed signal to have the perfect periodic extension implicit
in the discrete Fourier transform. When periodic
is specified, the
function computes a window of length n + 1
and returns the first
n
points.
Nuttall-defined Blackman-Harris window, returned as a vector.
The window is minimum in the sense that its maximum sidelobes are minimized.
The coefficients for this window differ from the Blackman-Harris window
coefficients computed with blackmanharris
and produce slightly lower
sidelobes.
# NOT RUN {
n <- nuttallwin(64)
plot (n, type = "l", xlab = "Samples", ylab =" Amplitude")
# }
Run the code above in your browser using DataLab