Vimarsana
Biggest News Aggregation in the World

Visit Stack News Today : Breaking News, Live Updates & Top Stories | Vimarsana

Stay updated with breaking news from Visit Stack. Get real-time updates on events, politics, business, and more. Visit us for reliable news and exclusive interviews.

Top News In Visit Stack Today - Breaking & Trending Today

Why is it a bad idea to filter by zeroing out FFT bins? - Vimarsana News

Why is it a bad idea to filter by zeroing out FFT bins?

Why is it a bad idea to filter by zeroing out FFT bins? $\begingroup$ It's very easy to filter a signal by performing an FFT on it, zeroing out some of the bins, and then performing an IFFT. For instance: t = linspace(0, 1, 256, endpoint=False) x = sin(2 * pi * 3 * t) + cos(2 * pi * 100 * t) X = fft(x) X[64:192] = 0 y = ifft(X) The high frequency component is completely removed by this "brickwall" FFT filter. But I've heard this is not a good method to use. Why is it generally a bad idea? Are there circumstances in which it's an ok or good choice? $\begingroup$