Article View: comp.dsp
Article #1637Check of an FFT routine...
From: Spaggie
Date: Thu, 04 Apr 1991 00:47
Date: Thu, 04 Apr 1991 00:47
60 lines
1543 bytes
1543 bytes
I have put together a program to do an FFT of any array of data, but it doesn't seem to get the imag. part correct. Can someone verify if this data is correct or not? Data given to program, 32 data points.. --------------------------------------- -0.005093 -0.003797 -0.001432 0.004374 0.001606 0.000027 -0.004548 0.000919 0.005288 -0.004973 -0.001283 -0.001970 0.002802 0.007448 -0.000214 -0.006771 -0.004697 0.002116 0.003964 0.002788 -0.000533 -0.003011 -0.000788 0.000005 -0.000852 0.003107 -0.001298 -0.000009 0.001896 -0.002197 0.000841 -0.000112 my fft routine then yeilds this.. Real, Imaginary ------------------- -0.000200,-0.000000 -0.000201,-0.000001 -0.000212,0.000010 -0.000223,-0.000053 -0.000722,-0.000263 0.000427,0.000433 -0.001282,-0.000314 0.000184,0.001059 0.000162,0.000016 0.000187,0.000170 -0.000096,-0.000125 -0.000621,0.000399 0.000027,0.000028 0.000258,-0.000585 -0.000188,-0.000254 -0.000111,0.000147 Can anyone verify this as being correct?
Technical Details
Message-ID:
<1991Apr4.004750.15969@en.ecn.purdue.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!news.cs.indiana.edu!news.nd.edu!mentor.cc.purdue.edu!noose.ecn.purdue.edu!en.ecn.purdue.edu!jbsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!news.cs.indiana.edu!news.nd.edu!mentor.cc.purdue.edu!noose.ecn.purdue.edu!en.ecn.purdue.edu!jbs From: jbs@en.ecn.purdue.edu (Spaggie) Newsgroups: comp.dsp Subject: Check of an FFT routine... Summary: does it work? Message-ID: <1991Apr4.004750.15969@en.ecn.purdue.edu> Date: 4 Apr 91 00:47:50 GMT Sender: jbs@ecn.purdue.edu Distribution: usa Organization: Purdue University Engineering Computer Network Lines: 60