I just want to know that does any one of you experts have used FFT analysis in their programming.
I have to do FFT analysis using: one dimensional real data i.e. float.
No. of points is 4096
I have tried on of the implementation taken from NET named as FFTReal. I have to compare the outputr result with output from mathematical programming language out put
Ultimate aim is to display Power Spectrum of the signal on time basis.
Any help and suggestion are highly welcomed and i am looking after.
Well here is the image file which shows the difference between the FFT function result obtained from mathematical programming lang DAOS and with RealFFT alogo
There are 4096 pts in your fft. Visually it looks like the ratio of the amplitudes is approximately 4096*4096. I've similar scaling differences when I compared power spectra from MATLAB and MTS software. Each FFT routine seems to differ by a multiplicative constant.
Matlab defines the DFT as
X(k) =sum x(n)*exp(-j*2*pi*(k-1)*(n-1)/N) , 1 <= k <= N.
another book I have defines the DFT as
X(k) =(sum x(n)*exp(-j*2*pi*(k-1)*(n-1)/N)) / T , 1 <= k <= N.
where T is the sampling interval
Last edited by Tom Frohman; September 15th, 2004 at 02:44 PM.
Verere testudinem! (Fear the turtle)
Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy. -Albert Einstein
Well the problem is clearly visible in the figure which i am enumerating as following:
1.0 Y axis values:
In fft calculation from my routine i am getting values in power of 10pow+3 with magnitude of max value upto 7000 , while for other routine from DAOS values are in the range of 10pow-1 and value of max value about 4*10-3
This is remarkable difference
2.0 On the X axis, it can be viewed that point of max in my routine calculation occurs at position 16th while with DAOS it comes to be about 4.
So these are main reason of my problem.
I had even tried the code from Numerical Reciepe in C, but it too provides similar outputs as FFTReal routine, which i am using.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.