Plot the Fourier-transform algorithm to know it
More often than not, people have trouble handling the Fourier transform of a signal due to its complex form. Apart from very specific cases, the Fourier transform of a time series is more often than not a complex-numbered sequence — and complicated numbers will not be at all times easy to know, especially if you end up not used to handling those sorts of numbers.
On this post, I would like to point out a couple of ways to visualise the Fourier transform of a 1D sequence of real numbers, which is what you handle 99% of the time, especially in data evaluation and time series.
All images by writer.
This post is the third of my Fourier-transform for time-series. Try the previous posts here:
- Review how the convolution relate to the Fourier transform and how briskly it’s:
- Deepen your understanding of convolution using image examples:
Before diving into the actual computing and plotting of 1D Fourier transforms, we’ll review a couple of basic concepts of complex numbers which might be crucial to what’s next. As you’ll see, complex numbers are literally pretty easy: just consider them as a vector of two numbers.
The tip goal of this post is to make you more comfortable with the actual numbers behind your Fourier transforms.
Any complex number will be represented with its canonical form, using 2 real values, a and b, respectively called their “real” and “imaginary” parts:
where i is the unit complex number with the well-known property that when you square it…