* In the frequency domain, sample the desired frequency response at L points(2kπ/L) . L = length of the filter and M+1 = L
* Inverse DFT of the length L to obtain impulse response. Impulse response will be periodic.
* multiply with the window function of length L, to keep only one period