Return the filter coefficients of a Blackman-Harris window defined by Nuttall of length n.
nuttallwin(n, method = c("symmetric","periodic"))
Arguments
n: Window length, specified as a positive integer.
method: Character string. Window sampling method, specified as:
"symmetric": (Default). Use this option when using windows for filter design.
"periodic": 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.
Returns
Nuttall-defined Blackman-Harris window, returned as a vector.
Details
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.
Examples
n <- nuttallwin(64)plot (n, type ="l", xlab ="Samples", ylab =" Amplitude")