function w = genHamming(N)


for ii = 1 : N
    
    w(ii) = .54 - .46*cos(2*pi*(1i*ii-1)/(N-1));
    
end

end
