Nuttall-defined minimum 4-term Blackman-Harris window
Nuttall and Blackman-Harris Windows
Compare 64-point Nuttall and Blackman-Harris windows. Plot them using
L = 64; w = blackmanharris(L); y = nuttallwin(L); wvtool(w,y)
Compute the maximum difference between the two windows.
ans = 0.0099
L — Window length
real positive scalar
Window length, specified as a real positive scalar.
The equation for the symmetric Nuttall defined four-term Blackman-Harris window is
where n= 0,1,2, ... N-1.
The equation for the periodic Nuttall defined four-term Blackman-Harris window is
where n= 0,1,2, ... N-1. The periodic window is N-periodic.
The coefficients for this window are
a0 = 0.3635819
a1 = 0.4891775
a2 = 0.1365995
a3 = 0.0106411
 Nuttall, Albert H. “Some Windows with Very Good Sidelobe Behavior.” IEEE® Transactions on Acoustics, Speech, and Signal Processing. Vol. ASSP-29, February 1981, pp. 84–91.
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
Introduced before R2006a