I'm asked to design FIR filter, an ideal low pass filter.
I'm given with pass band frequency (wp) and stop band frequency (ws). Now, I have to choose Ns points from stop band and Np points from pass band. Taking the inverse will give me impulse response.
The problem is, Ns points are equally spaced and Np points are equally spaced. But the spacing of the points in pass band and stop band differ. How do I find the filter coefficients?