Thread View: comp.dsp
2 messages
2 total messages
Started by Ed Croteau
Fri, 24 Jul 1992 19:26
Numerical Recipes FFT routine bugs ???
Author: Ed Croteau
Date: Fri, 24 Jul 1992 19:26
Date: Fri, 24 Jul 1992 19:26
11 lines
1056 bytes
1056 bytes
Does anyone have any information on the "FOUR1.C" routine in the Numerical Recipes in C book? I believe that the routine as printed (and on a source disk) does not properly compute the FFT (try a simple real SIN wave and examine the imaginary). Please let me know if I am wrong about this but it seems like the imaginary part is frequency reversed or something similar. Please respond via email if you have information or would like to hear of the results of this posting. Thanks. P.S. How can I get in touch with the company? Their Cambridge address is no longer valid (or at least no phone listing).
Re: Numerical Recipes FFT routine bugs ???
Author: Dr. Steven L. Eddins
Date: Fri, 24 Jul 1992 20:37
Date: Fri, 24 Jul 1992 20:37
20 lines
1372 bytes
1372 bytes
croteau@ccwf.cc.utexas.edu (Ed Croteau) writes: >Does anyone have any information on the "FOUR1.C" routine in the >Numerical Recipes in C book? I believe that the routine as printed >(and on a source disk) does not properly compute the FFT (try a >simple real SIN wave and examine the imaginary). Please let me know >if I am wrong about this but it seems like the imaginary part is >frequency reversed or something similar. Perhaps your difficulty is in their definition of the DFT (Discrete Fourier Transform). See equations (12.1.7) and (12.1.9), and note that the signs in the complex exponential terms are reversed from the engineering norm. Or maybe I shouldn't say "norm"---it's reversed from the definition *I* use. ;-) -- Steve Eddins eddins@holst.eecs.uic.edu (312) 996-5771 FAX: (312) 413-0024 University of Illinois at Chicago, EECS Dept., M/C 154, 1120 SEO Bldg, Box 4348, Chicago, IL 60680
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads