Why do I get a high frequency oscillation when I take the FFT of a rectangular pulse? I am taking the FFT of a Rectangular Pulse and I expect a nice smooth Sinc wave. But what I get is a Sinc wave with a high frequency oscillation. Why is this?
Neeta Dsouza answered .
2025-11-20
fftrect=fftshift(fft(fftshift(rect)));