Discrete Fourier transform of a finite length signal which saturates at non-zero value
You can &amp; should window your signal. Choice of window depends on the specific requirements of your application. Wikipedia has a really good overview on properties and trade-offs: https://en.wikipedia.org/wiki/Window_function
Keep in mind that you already ARE windowing: your finite length window is simply an infinite length signal multiplied with a rectangular window.