%% Nuttall and Blackman-Harris Windows
% Compare 64-point Nuttall and Blackman-Harris windows. Plot them using wvtool.

L = 64;
w = blackmanharris(L);
y = nuttallwin(L);
wvtool(w,y)

%
% Compute the maximum difference between the two windows.

max(abs(y-w))

% Copyright 2015 The MathWorks, Inc.