4 ms·
You might know this, but I want to state it at least for the benefit of people reading this without much signal processing experience. Just zeroing like that re
by chas 13y ago
You might know this, but I want to state it at least for the benefit of people reading this without much signal processing experience. Just zeroing like that really isn't the best idea. Square waves (that are 1 for signals that you want and 0 for signals you don't want) inverse Fourier transform to sinc functions[1], so if you are filtering just by chopping things out, it will greatly distort the time-domain system because the inverse Fourier transform of the filter and the signal get combined (convolved) in the time domain.
[1] http://en.wikipedia.org/wiki/Sinc_function http://en.wikipedia.org/wiki/Sinc_function