%BLACKMAN HARRIS WINDOW
function w = Calc_Blackman_Harris_Window
N = 333;
L = 3;
No2 = (N-1)/2;
n = -No2:No2;
ws = zeros(L,3*N);
z = zeros(1,N);
for l=0:L-1
ws(l+1,:) = [z,cos(l*2*pi*n/N),z];
end
alpha = [0.42,0.5,0.08]; % Classic Blackman
w = alpha * ws;