• where , called the “Nth root of unity”
    • Nth roots of unity is the related concept of the complex unit circle being split up equally into sectors, where integer powers of walk the circle
  • where is the number of samples in the DT signal
  • where is the frequency bin, representing an area of frequencies in the frequency domain centered around , where is the Sampling Frequency
    • the spacing between bins is , called the bin width
  • where is a Complex Number
  • where the input is assumed to be periodic with period

Time Complexity

The Time Complexity of calculating the Discrete Fourier Transform as a Matrix product or by equivalently calculating each Dot Product per without matrices is , where the DFT Matrix is a Square Matrix

Use Cases of DFT

Matrix Discrete Fourier Transform

  • where is called the “DFT Matrix”

Inverse Discrete Fourier Transform

Power Spectrum

Power Spectrum

The power spectrum is the distribution of Signal Power across frequency, computed by taking the squared magnitude of each DFT bin :

It discards phase information and retains only energy per frequency bin. The primary domain for signal detection; bins whose power exceeds the local noise floor are declared detections.

Link to original

FFT Shift

FFT Shift

The FFT Shift post-processes the output frequency graph of the FFT and centers 0 in the middle of the array, rather than at the beginning, making it easier to interpret. By default frequencies of zero are on the left, then positives, then negatives.

Link to original