[SciPy-user] the physical frequency of FFT

Forrest Sheng Bao forrest.bao at gmail.com
Tue Mar 18 18:09:09 EDT 2008


Hi,

I have some other questions about the fft function. Suppose I have N
sampling points and the sampling rate is Fs. I performed an N-point FFT,
using the code *fft(my_list_of_data)*.


   1. Doesn't the k-th point (0<k<N/2) correspond to the physical
   frequency (k*Fs)/(2*N)?
   2. Consider the single-sided case. If I just plot the FFT result by *
   plot(fft(my_list_of_data))*, the x-coordinate ([0,Pi]) is the image
   part and the amplitude is the real part, right?
   3. If I wanna estimate the power spectrum at each frequency, should I
   square the real part or computer the norm (square root of the sum of squares
   of the real and image part) of the complex number, at each FFT point?

Thanks,
Forrest

-- 
Forrest Sheng Bao
Ph.D. student, Dept. of Computer Science
M.Sc. student, Dept. of Electrical & Computer Engineering
Rm 115, Experimental Sciences Building
Texas Tech University, USA
http://fsbao.net
1-806-577-4592

Forrest is an equal opportunity Email sender.
1. You are encouraged to use the language you prefer. Beyond English, I can
also read traditional/simplified Chinese and a bit German.
2. I will only send you files readable to free or open source software.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20080318/38504596/attachment.html>


More information about the SciPy-User mailing list