Fourier transform, range of indices

In summary, the conversation discusses the differences in index notation between the mathematical literature and numerical FFTs for sums in Fourier transformation formulas. It is explained that in the "real data" notation, there is a simple shift to make the indices start at 0, while in Fourier space for FFTs, the negative frequencies are in the second half of the data set. This is done for ease of locating the 0 frequency element and converting the index of a positive frequency element to its corresponding frequency. It is clarified that this index choice is just a definition and does not have any mathematical reasoning behind it.
  • #1
Derivator
149
0
hi,

could someone explain the following statement, please?

In the mathematical literature sums in Fourier transformation formulas typically run from
−N to N or N −1. In all numerical FFTs indices run from 0 to N −1. For all the real
data this just implies a shift whereas for data in Fourier space it means that the negative
frequencies are in the second half of the data set as shown below for the case of N=4:
x_0,x_1,x_2,x_3,x_4,x_{-3},x_{-2},x_{-1}​

Why is the real data only shifted, but the Fourier space data is 'wrapped around'?

The only difference should be: exp(k*x*2*i*Pi/N) in reals space vs. exp(-k*x*2*i*Pi/N) in Fourier space. Both have a periodicity of N. So why is there any difference?
 
Mathematics news on Phys.org
  • #2
For the "real data" (I'm not sure I like this term), going from the described "mathematical literature" notation indices to the FFT indices, -N would become 0, -N + 1 would become 1, etc; this is a simple shift to make it start at 0.

In the Fourier domain for FFTs, the element with index 0 will be the 0 frequency element, then the positive frequency elements are next, and then the negative frequency elements will follow those, beginning with the most negative frequency. If you really want a rationale, having it this way makes some things easier then they might be otherwise. For example locating the 0 frequency element is easy as it is just the element with index 0. Also, converting the index of a positive frequency element to its corresponding frequency is easier this way. The frequency is just index/fstep instead of something such as (index - index0)/fstep.
 
  • #3
ah, so this index choice is just definition and follows not from any mathematical principle?
 
  • #4
Oops, those should be multiplications, not divisions.
 
  • #5
So this is just definition and is not due to any mathematical reason?
 

FAQ: Fourier transform, range of indices

1. What is the Fourier transform?

The Fourier transform is a mathematical operation that decomposes a signal into its constituent frequencies. It takes a time-domain signal and converts it into a frequency-domain representation, allowing us to analyze and manipulate the signal in the frequency domain.

2. How is the Fourier transform calculated?

The Fourier transform is calculated using a complex exponential function. The signal is multiplied by this function and integrated over the entire range of the signal. This process is repeated for each frequency component, resulting in a continuous spectrum of frequencies.

3. What is the range of indices in the Fourier transform?

The range of indices in the Fourier transform depends on the type of transform being used. For a discrete Fourier transform, the indices range from 0 to N-1, where N is the length of the signal. For a continuous Fourier transform, the indices are continuous and can range from negative infinity to positive infinity.

4. What is the significance of the range of indices in the Fourier transform?

The range of indices in the Fourier transform determines the resolution and accuracy of the frequency spectrum. A larger range of indices allows for a more detailed representation of the signal in the frequency domain, while a smaller range may result in loss of information.

5. How is the range of indices related to the sampling rate in Fourier transform?

The range of indices is directly related to the sampling rate in Fourier transform. The sampling rate determines the maximum frequency that can be represented in the frequency spectrum. Therefore, a higher sampling rate results in a larger range of indices and a more accurate representation of the signal’s frequency components.

Similar threads

Replies
3
Views
1K
Replies
2
Views
1K
Replies
5
Views
898
Replies
2
Views
3K
Replies
4
Views
2K
Replies
21
Views
3K
Back
Top