Signals and DSP · DFT and FFT
A real signal rarely fits a DFT window exactly, and the mismatch smears energy across bins unless the window is shaped.