I'm working on a project where I need to generate a LUT for Hamming Window to perform a FFT.
I'm using this function (doing the table with MATLAB):
n = 0:4095;
LUT_length = length(n);
WIN_HAM_v = round(4095*(0.54-(0.46*cos(2*pi*n/(LUT_length-1)))));
I have some doubts if the function is correct