First Success with the DFT

I finally put all of the pieces together this morning:

I feel like I have a solid grasp of the Discrete Fourier Transform, and I can now answer questions that stumped me a few days ago, like: if my signal has no imaginary component, why are the coefficients of its Fourier series complex numbers?

This is kind of like asking: if my number is an integer, why might half of it be a (non-integral) rational number? While our signal might have no imaginary component, this is kind of a special case for periodic phenomena, in the same way that even numbers are special integers.

In order to be able to express both sine and cosine using a “circle machine” (and why we care about these circle machines will need to wait for another post) we need to be able to set both the lengths of the machine’s arms but also their starting angles. It’s almost impossible to detect in this video, but the “sine machine” starts with one arm straight up and the other straight down, where the “cosine machine” begins with them stretched end-to-end horizontally:

So each arm needs two parameters (length and initial angle) just to be able to express real-valued signals. Bundling up these two parameters into a complex number isn’t strictly necessary, but it’s a natural and insightful choice.

Here are a few more. A square wave:

And the unit circle:

More Questions

Still, more questions remain.

Clearly I still have more to learn about the unit circle!