%% Check COLA Compliance For Root-Hann window
% Create a periodic root-Hann window of length 120. Test whether the window is COLA compliant with a 50% overlap.

win = sqrt(hann(120,'periodic'));
noverlap = 60;

%
% Check whether the window is COLA compliant with a 50% overlap.

tf = iscola(win,noverlap)

% Copyright 2018 The MathWorks, Inc.