Alberto: Glad to know you are here.
I would not revert to the time domain. "Rename" the complex bins of your fft by performing a simple circular shift until the right bin is on zero. Apply the low pass filter in the frequency domain, IFFT and then downsample. Since these frequencies or bins are discrete, you might need to retune BUT this can now be done on the decimated signal. REMEMBER, fft is a circular convolution. So if you use a N tap filter, you will probably want to use an roof(log_2(N))+1 long FFT and then do overlap save or add to turn it into a linear convolution. If this was not clear, please say so. Cheers, Bob -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alberto di Bene Sent: Saturday, February 19, 2005 3:13 PM To: [email protected] Subject: [Discuss-gnuradio] Resampling in the frequency domain A question for all the DSP gurus lurking here. Suppose I have the spectrum of a signal, obtained via an FFT, and I want to isolate a portion of it, bring it to baseband and downsample it. The first idea that comes to mind is to do it in the time domain, first multiplying the signal by a complex exponential, then lowpass it, then decimate it. Would it be possible to simply translate the spectrum by the needed amount (thus bringing the wanted portion at baseband) and then resample it so to have a lower sampling rate when the signal is brought back into the time domain? It looks doable, but I am sure there are issues to be taken into account (aliasing? windowing? etc.). Which are the caveats in doing such a process which looks on paper much faster than working in the time domain? Thanks in advance. Alberto _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
