function fnum = generateFilterCoef(genb, info)
NDLRB         = genb.NDLRB;
nSC           = NDLRB*12;
Nfft          = info.Nfft;
FilterLength  = genb.FilterLength;
ToneOffset    = genb.ToneOffset;
W             = nSC;  % Number of data subcarriers
halfFilt      = floor(FilterLength/2);
n             = -halfFilt:halfFilt;

%% Sinc function
pb = sinc((W+2*ToneOffset).*n./Nfft);

%% Sinc truncation window
w = (0.5*(1+cos(2*pi.*n/(FilterLength-1)))).^0.6;

%% Normalized lowpass filter coefficients
fnum = (pb.*w)/sum(pb.*w);
end
