Discrete Fourier Transform Frequency

Click For Summary
SUMMARY

The discussion focuses on generating a frequency axis for a discrete Fourier transform (DFT) program based on the algorithm from the DFT Wikipedia page. The key insight provided is that the DFT yields N evenly spaced samples of the discrete-time Fourier transform (DTFT), with the corresponding frequencies calculated using the formula n/N * F_s, where n ranges from 0 to N-1 and F_s is the sampling frequency. This method allows users to effectively compute frequency values for their DFT outputs.

PREREQUISITES
  • Understanding of Discrete Fourier Transform (DFT)
  • Familiarity with discrete-time signals
  • Knowledge of sampling frequency (F_s)
  • Basic programming skills for implementing algorithms
NEXT STEPS
  • Research the implementation of the DFT algorithm in Python using libraries like NumPy
  • Learn about the relationship between sampling frequency and frequency resolution
  • Explore the concept of the discrete-time Fourier transform (DTFT)
  • Investigate windowing techniques to improve DFT results
USEFUL FOR

Anyone involved in signal processing, including software developers, engineers, and researchers working with Fourier analysis and discrete-time signals.

Chemistopher
Messages
2
Reaction score
0
Hi everybody,

I'm in the process of writing a discrete Fourier transform program using the algorithm on the DFT wikipedia page. When I throw in functions that I know the frequency domain signal of it gives the predicted shape but I have absolutely know idea how to generate a frequency axis.

Does anybody here know how I can compute the frequency values?

Thanks in advance.

Chris
 
Physics news on Phys.org
Try using a sine function at a specific frequency. Then whatever you get for the Fourier Transform corresponds to that frequency.
 
Chemistopher said:
Hi everybody,

I'm in the process of writing a discrete Fourier transform program using the algorithm on the DFT wikipedia page. When I throw in functions that I know the frequency domain signal of it gives the predicted shape but I have absolutely know idea how to generate a frequency axis.

Does anybody here know how I can compute the frequency values?

Thanks in advance.

Chris

The DFT gives you N evenly spaced samples of the DTFT (discrete-time Fourier transform). The frequencies corresponding to these samples are

[tex]\frac{n}{N} F_s[/tex]

where [itex]n = 0,1,\ldots,N-1[/itex] are the indices of the samples, and [itex]F_s[/itex] is the sampling frequency of the input sequence.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 47 ·
2
Replies
47
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K