%% Comparison of Periodic and Symmetric Hamming Windows
% Design two Hamming windows:
% The first window has N = 64 and is symmetric.
% The second window has N = 63 and is periodic.
% Display the two windows.

Hs = hamming(64,'symmetric');
Hp = hamming(63,'periodic');
wvt = wvtool(Hs,Hp);
legend(wvt.CurrentAxes,'Symmetric','Periodic')

% Copyright 2018 The MathWorks, Inc.