For example, I entered the following "equation" into Wolfram|Alpha:
FourierTransform[Piecewise[{{sin[t],t > 0 and t < 2*pi}}, 0], t, \[Omega]]
So as to take the Fourier Transform of a signal like this:
And turn it into some graphs that look like this:
My understanding from constantly — but casually! — hearing about Fourier Transforms (and DFT/FFT) in the context of audio processing and SDR I/Q data processing, is that I now have some information about a portion of the spectrum of the input signal. I'm trying to deepen my understanding, however, and refresh my memory of all I started learning in a Differential Equations class years ago.
Given my more recent practical background I'm left with the following questions understanding what the Fourier transform just did for me:
- Why did I get a complex (real/imaginary) output from a real-only input? (How would I have passed some sort of "I/Q" equivalent in to the "equation" I provided?)
- What units are omega, is it essentially Hertz if
t
is in seconds? What does negative Hertz mean? - If the input function were actually a voltage on a wire, would the real and imaginary parts be amplitude and phase (respectively) of the component frequencies?
From https://dsp.stackexchange.com/a/24758/18819, I gather that if I primarily care about power at a given frequency I would take the magnitude of the complex vector. From a Wikipedia article on negative frequency I'm not sure what its "wheel spinning backwards" analogy would mean in the context of e.g. electromagnetic or acoustic waves, but I'll take it to mean maybe it's just "some more of the signals" and combine the values across the y-axis.
So am I correct to interpret this as follows:
- there is no power [correct term?] at 0Hz
- at +0.5Hz and at +1Hz there is 1 unit (?) of "power" but
- …at -0.5Hz there is also 1 unit of power
- …while at -1Hz there is -1 unit of power
- so at "real world" 0.5Hz there might be 2 units of power
- but at "real world" 1Hz there might be 0 units of actual power?
Or what would be the best way to understand the first Fourier plot above, and derive relevant results from it?