Understanding Discrete Fourier Transforms for High School Students

  • Thread starter Thread starter Ana09
  • Start date Start date
  • Tags Tags
    Fourier
Click For Summary

Homework Help Overview

The discussion revolves around understanding discrete Fourier transforms (DFT) in the context of a high school project. The original poster seeks clarification on expressing the function x(n) in relation to the DFT formula provided.

Discussion Character

  • Exploratory, Conceptual clarification, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the notation of x(n) and its interpretation as a function of n, with some clarifying that it represents individual data points in the DFT. Questions arise regarding the nature of these data points and their relation to amplitude in the time domain.

Discussion Status

Some participants have provided clarifications regarding the notation and the nature of the data points involved in the DFT. The original poster has shared their project intentions, indicating a desire to visualize sound spectra and considering the feasibility of using software tools for the DFT process. There is an exploration of whether using the Fast Fourier Transform (FFT) might be more suitable for their project.

Contextual Notes

The discussion includes considerations about the complexity of performing DFT calculations manually versus using software, as well as the potential need for an inverse Fourier transform to express x(n) in terms of X(n). Participants note the common use of numerical methods and software packages in practical applications of DFT.

Ana09
Messages
4
Reaction score
0
Fourier transforms. help!

hey! i am in high school, working on a project on discrete Fourier transforms..

I have the formula: X(k)= EN-1n=0x(n)(cos(wnk)-isin(wnk))
where w=2pi/N.

My question is: how do you express x(n)?does it have an equation, or what?
I really need help with this, so please if anyone knows.."
THANK YOU!
 
Physics news on Phys.org


What might be confusing you is the notation you have. x(n) implies x is a function of n. The actual notation is [tex]x_n[/tex] pronounced "x sub n." The [tex]x_n[/tex] are the individual numbers you are doing the DFT on.

http://en.wikipedia.org/wiki/Discrete_Fourier_transform
The sequence of N complex numbers x0, ..., xN−1 is transformed into the sequence of N complex numbers X0, ..., XN−1 by the DFT according to the formula
The actual DFT equation should be

[tex]X_k = \sum_{n=0}^{N-1} x_n e^{\frac{-2\pi i}{N}k n}[/tex]

[tex]k=0,...N-1[/tex]
 


and what would those numbers be? the amplitude of each sample on the time domain?

anyway, thank you so much, it was really helpful =)
 


Ana09 said:
and what would those numbers be? the amplitude of each sample on the time domain?
Yes, exactly.
 


If you tell us about your project it may be easier to help. It usually is just a long list of data points.
 


Thanks!
Well, I kind of wanted to draw the spectra of different sounds "by hand". But I realized that with the DFT it would take far too long, so I was thinking on showing the beginning of the working, or an example of it, and then do the rest with the help of some software (which I am also trying to find online). Another option could be to draw the spectra with a really small number of samples, but I am not sure of whether the results would be realistic.

I have also read about FFT's, but I still don't really understand how they work. Would it be easier for me to use the FFT for this project?
 


My question is: how do you express x(n)?does it have an equation, or what?

The equation (a very standard one) gives X(n) in terms of x(n). Could it be that your teacher is simply looking for the inverse? i.e. x(n) in terms of X(n)? That's just the Inverse Fourier Transform then. Almost like changing places between X(n) and x(n) .. but not quite ... you'd better look it up to find it out exactly.

Usually the Discrete Fourier Transform is a numeric problem, it's very common to use computers ... there's are very many ways and packages ... it's a hugely useful operation, but not done with the head usually. The FFT is a very popular way of calculating it .. packages like Octave have it as standard. As you've given the equation .. it's in its very standard form, no specifics attached. It's all I can think of, that it must be the IDFT they want
 

Similar threads

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