The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Problem using FFT
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

cacho

USA
1 Posts

Posted - 10/07/1998 :  7:05:00 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I 've got some problems by performing FFT with Microcal Origin 5.0 (under Windows 95 with Service Release Patch 2). Maybe you will be able to tell me more about it:
Performing FFT on an even real signal I expecte to obtain, in theory, an even real spectrum.
But with Origin, I obtain a non null imaginary part. You can check it yourself by using this data ( for exemple..):
(A(x):B(y))
( -5 : 0)
( -4 : 0)
( -3 : 0)
( -2 : 1)
( -1 : 1)
( 0 : 1)
( 1 : 1)
( 2 : 1)
( 3 : 0)
( 4 : 0)
( 5 : 0)
I made this test for several types of real even signals, and I always obtain a non null imaginary part..
Is there something wrong with Origin, or with the way I use it ?
Thank you for your help.


greg

USA
1379 Posts

Posted - 10/09/1998 :  2:34:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
While other software may not calculate the Imaginary part of a Fourier Transform when the original data is Real, this is not correct and information is lost although the results of the real part of the transform may still be correct.
The loss of the imaginary data is only important in resolving some ambiguities when performing an inverse transform. This becomes crucial to people doing frequency domain filtering.

You can convince yourself of this with your data:

A(X)B(Y)
1-50
2-40
3-30
4-21
5-11
601
711
821
930
1040
1150

Plot your data as a Line+Symbol plot and select Analysis:FFT. Click the Settings Tab of the FFT tool and UNCHECK the Normalize Amplitude and Shift Results options. (This is appropriate for our planned Inverse FFT.)

Click the Operation Tab and select Forward and Amplitude before clicking OK.

Minimize or Close the FFTPlot1 to reveal the FFT1 worksheet. As you noted, the Imag(inary) data is non-zero. Let's now do an Inverse FFT - first using just the Real data, then using both Real and Imag(inary) data.

Inverse FFT with Real data

Highlight column Real of the FFT1 worksheet and select Analysis:FFT. Uncheck the two options on the Settings Tab as before. Note that the Imaginary field on this Tab is blank. Click the Operation Tab and this time select Backward and Amplitude before clicking OK.
Note that this gives two 'pulses' where your original data only had one.

Inverse FFT with Real and Imaginary data

Highlight both columns Real and Imag of the FFT1 worksheet and select Analysis:FFT. Uncheck the two options on the Settings Tab as before. Note that the Imaginary field on this Tab now uses that Imaginary data you thought should be zero. Click the Operation Tab and select Backward and Amplitude before clicking OK.
Note that this gives your original data (plus the few zero-valued points that were added to make the Fourier Transform a Fast Fourier Transform).

While giving you only real results might be correct for real data, I think you can see the advantages of reporting the imaginary data as well.

[This message has been edited by Greg (edited 10-09-98).]

Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000