DFT Meaning of k's Greetings: Understanding Wavelength & Interval Length

  • Context: Graduate 
  • Thread starter Thread starter SchroedingersLion
  • Start date Start date
  • Tags Tags
    Dft
Click For Summary
SUMMARY

The discussion clarifies the meaning of the variable k in the context of the Discrete Fourier Transform (DFT) as it relates to the length of the x-interval containing the signal. It establishes that k is not a wavenumber but rather an index that can be expressed as k = 1/λ, where λ is the wavelength. The periodicity of the DFT indicates that k can be represented in different ranges, such as [0, N-1] or [-N/2 + 1, N/2]. The conversation emphasizes the importance of context in understanding the relationship between k and the sampling interval, ultimately leading to a better grasp of signal decomposition in the frequency domain.

PREREQUISITES
  • Understanding of Fast Fourier Transform (FFT) concepts
  • Familiarity with Discrete Fourier Transform (DFT) equations
  • Knowledge of signal processing and sampling theory
  • Basic grasp of complex numbers and their representation in the complex plane
NEXT STEPS
  • Study the mathematical foundations of the Discrete Fourier Transform (DFT)
  • Learn about the Fast Fourier Transform (FFT) algorithm and its applications
  • Explore the relationship between sampling intervals and frequency resolution
  • Investigate the implications of periodicity in Fourier analysis
USEFUL FOR

This discussion is beneficial for students and professionals in signal processing, data analysis, and anyone working with Fourier transforms, particularly those seeking to deepen their understanding of the mathematical underpinnings of the DFT and FFT.

SchroedingersLion
Messages
211
Reaction score
56
TL;DR
Question to DFTs
Greetings!

I am getting started with Python's Fast Fourier Transform, and I noticed a missunderstanding on my part.
I always thought that the k's in the expression of the DFT resemble actual wavenumbers ## \frac{2\pi}{\lambda}## that form the waves the signal is composed of.
But the actual meaning seems to depend on the length of the x-interval that holds the signal.

Wiki:
$$
X_{k} = \sum_{n=0}^{N-1}x_n e^{-2\pi i k \frac n N} ~~~~(1) \\

x_n = \frac 1 N \sum_{k=0}^{N-1}X_k e^{2\pi i k \frac n N}~~~~ (2),
$$

where the ##x_n## are the ##N## signal values that are equidistantly positioned at the points ##\frac n N ##, i.e. in the interval ## [0, 1] ##.
The expressions are ##N-##periodic in ##k##, so it makes no difference whether one uses ##k\in [0,N-1]## or ##k\in [-\frac N 2 +1, \frac N 2]## (suppose ##N## is even).

In this representation, however, the ##k## are no wavenumbers. Rather, they are wavenumbers divided by ##2\pi##, i.e. ##k=\frac 1 \lambda ##.In another derivation of a book, the points ##x_n## are equidistantly spaced across ##[0, 2\pi]##.
(1) then becomes
$$ X_{k} = \sum_{n=0}^{N-1}x_n e^{-i k x_n}. $$

Here, however, it is ##k=\frac {2\pi} {\lambda}##.
Now I was wondering, is it generally true that the ##k## are given by ## \frac L \lambda ## with ##L## as the length of the ##x-##interval?

It somehow makes sense, as the sampling interval does not enter anywhere else in these formulas.SL

 
Physics news on Phys.org
k is simply an index. How it is defined depends entirely on the context, as you noticed.
 
  • Like
Likes   Reactions: SchroedingersLion
Alright, I think I understand now, thanks!

On another note, I wonder whether my intuitive understanding is correct:
Given my grid of data points, I know which wavenumbers k can be distinguished on the grid.
I want to decompose my signal into a sum over these "eigen-wavenumbers".
If I imagine the complex plane and discrete lines that go from 0 to ##e^{ik}## for the different ##k##, then ##X_k## is simply a point on the line to the corresponding ##k##, correct?

I then try to imagine that eq. (1) projects each data point onto that line and sums over these projections in order to find the total ##X_k##. Is this idea correct? If so, I don't really see how the term ##x_n e^{-2\pi ik\frac n N}## performs that task. If I was correct, I would simply write ##x_n e^{ik}##. So my view seems to be a bit oversimplified.
 
k is not wavenumber, it’s simply an integer index, as is n. All context is lost once your data are sampled and digitized. Context about units (time, position, frequency or other variables) must be tracked with external bookkeeping.
 
  • Like
Likes   Reactions: SchroedingersLion

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 17 ·
Replies
17
Views
2K
Replies
32
Views
3K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K