Fourier Transform and Complex Plane

Click For Summary

Discussion Overview

The discussion revolves around the Fourier Transform, particularly the Fast Fourier Transform (FFT) and its representation in the complex plane. Participants explore the implications of plotting FFT results, the interpretation of these plots, and the calculation of phase from complex values. The conversation includes theoretical aspects, practical applications, and personal experiences with FFT analysis.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant describes transforming a top hat function using FFT and obtaining a sinc function, expressing curiosity about the meaning of the resulting plot in the complex plane.
  • Another participant suggests that the complex plane plot is not particularly useful outside specific contexts, recommending a focus on the properties of Fourier transforms instead.
  • A participant mentions the relationship between the Fourier transform and the Laplace transform, highlighting their applications in solving differential equations and analyzing linear systems.
  • One participant seeks clarification on how to determine the phase of the FFT, discussing their attempts with arctan and atan2 functions, and noting discrepancies in expected phase behavior.
  • Another participant confirms that atan2 or the Arg function is appropriate for finding phase, suggesting that the phase behavior may be affected by the time delay of the top hat function.
  • A participant shares their results for the magnitude and phase of their FFT, expressing confusion over the phase behavior and its expected jumps at zero magnitude points.

Areas of Agreement / Disagreement

Participants express differing views on the usefulness of complex plane plots for FFT results, with some suggesting they are not generally informative while others find them interesting. There is also ongoing uncertainty regarding the calculation and interpretation of phase, with no consensus reached on the expected behavior of phase in relation to magnitude.

Contextual Notes

Participants reference specific mathematical functions and properties related to Fourier transforms, but there are unresolved questions about the implications of time delays on phase and the interpretation of complex plots. The discussion includes personal interpretations and experiences that may not align with standard practices.

Who May Find This Useful

This discussion may be of interest to individuals exploring Fourier transforms, particularly in the context of signal processing, mathematical analysis, and those seeking to understand the relationship between magnitude and phase in complex functions.

evad1089
Messages
19
Reaction score
0
I have been playing with the FFT and graphs. The easiest example I could think of for a transform was the top hat function (ie 0,0,0,0,0...1,1,1...0,0,0,0,0). When I transform this from the time domain to the frequency domain, it returns a sinc function when I take the absolute value squared of the returned complex values. This is all well and good (mostly beyond my understanding, but fun to play with).

Now my question comes in when I plot the returned values in the complex plane (real on x-axis and imaginary on y axis). This specific plot makes a quite pretty flower, but I have now idea what it means, and Google is no help. As I play with the variables and function to transform, I can skew, rotationally, the graph.

To the jist of the question, what, if anything does this plot represent? How do I interpret it?

Regards,
Dave
 
Physics news on Phys.org
Basically no, this type of plot is not very useful. (There is a context in communications modulation theory in which such real vs. imaginary plots are used, but this is a special application.) Better to study the properties of Fourier transforms, and then use standard plots of examples to illustrate those properties.

For instance, the transform of a real function is Hermitian (conjugate symmetric) while that of a real symmetric function is real symmetric. Try both, plotting the real part of your transform versus index and superimposing the imaginary part in a different color. You see no imaginary part in the first case, and imaginary odd symmetry in the second.
 
You might find this discussion of interest: the closely related Fourier transform is widely used...

Like the Fourier transform, the Laplace transform is used for solving differential and integral equations. In physics and engineering, it is used for analysis of linear time-invariant systems such as electrical circuits, harmonic oscillators, optical devices, and mechanical systems

http://en.wikipedia.org/wiki/Laplace_transform
and specifically applications to electrical circuits here:

http://en.wikipedia.org/wiki/Network_analysis_(electrical_circuits)#Transfer_function
 
Thank you.

I have a secondary question related the fft. Taking the fast Fourier transform of the top hat returns a set of complex valued data points. Obtaining the magnitude of these points is quite easy, but phase is eluding me. It should be something like '_-_-_', switching at the places the magnitude touches zero.

I first tried arctan(imag/real), but this locked the values in one quadrant and gave me a graph that went something like this: '/ / /'.

Next I did some reading and found the atan2(imag,real) function. This one seemed to give me better results, the points fluctuate from 0 and -pi in the center to 0 and pi on the edges (if this doesn't make sense I can post the graph).

Then I found the Arg function in Mathematica, but I do not have a copy of Mathematica, so I found the definition of this function, and programed a function to replicate it in Maxima. This gave me the same results as atan2 function.

Back to the jist of my question, how does one find the phase of the fft?
 
evad1089 said:
Back to the jist of my question, how does one find the phase of the fft?
You have almost answered your own question. Either atan2(z.im, z.re) or arg(z) is what you want. The answer may not be what you expected because your top hat function might not be "centred on zero". You're looking at a time-delayed top hat, and a time delay is equivalent to a phase change proportional to frequency.
 
If you nice folks will tolerate a few more questions, I would be eternally grateful. I am still wrapping my head around the concept of phase; it seems a little more tricky that magnitude.

Here is the magnitude of the fft of my function:
[PLAIN]http://blackbricksoftware.com/custom/imagem.png
It is exactly what I would expect it to be.

Here is what I get when i use atan2(imag,real) for phase:
[PLAIN]http://blackbricksoftware.com/custom/image.png

And zoomed in:
[PLAIN]http://blackbricksoftware.com/custom/imagepz.png

According to my reading, the phase should jump between 0 and [tex]\pi[/tex] every time the magnitude reaches zero. I cannot seem to replicate this behavior in my functions.
 
Last edited by a moderator:

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
2K