Fourier Frequency Identification

Click For Summary
SUMMARY

The discussion focuses on using Fourier transforms to identify frequencies in complex waveforms, specifically in the context of teaching high school physics. The user, Aaron, is utilizing Mathematica to analyze data generated from the function 2 Sin[x + 1] + 2 Sin[3 x] + 2 Sin[4.6 x + 3]. After applying the Fourier transform with the command Fourier[data], he receives a table of complex numbers and seeks assistance in converting these into frequency information. Recommendations include starting with simple trial functions like sin(2πt) and f(t)=1 to understand the relationship between frequency and amplitude in the output spectrum.

PREREQUISITES
  • Understanding of Fourier transforms and their applications in signal processing.
  • Familiarity with Mathematica for data analysis and visualization.
  • Basic knowledge of sinusoidal functions and their properties.
  • Ability to interpret complex numbers and their significance in frequency analysis.
NEXT STEPS
  • Learn how to interpret the output of the Fourier transform in Mathematica.
  • Experiment with different sinusoidal functions to observe their frequency spectra.
  • Research the relationship between amplitude and frequency in Fourier analysis.
  • Explore advanced features of Mathematica for plotting and analyzing Fourier transforms.
USEFUL FOR

This discussion is beneficial for high school physics teachers, students learning about waveforms and Fourier analysis, and anyone interested in applying Mathematica for signal processing and frequency identification.

AaronMartin
Messages
8
Reaction score
0
I am a high school physics teacher and was thinking of demonstrating to students how frequencies of complex waveforms such as notes of instruments can be identified using a Fourier transform.

I haven't done Fourier transforms for a while and was quickly re-reading about them earlier this evening.

Essentially what I was after is given some data (collected using a data logger and microphone etc) or as an example a series of points generated from t=0 to t=10 in steps of 0.1 of 2 Sin[x + 1] + 2 Sin[3 x] + 2 Sin[4.6 x + 3]. Plotting this in Mathematica gives me a nice looking waveform.

If I then do a Fourier transform on the data produced using Fourier[data], Mathematica produces a Table of complex numbers.

Can someone please help me take these complex numbers and transform them into frequency information?

I attempted to do something like ListLinePlot[Abs[Fourier[data]], PlotRange -> All] but it produced a strange looking Plot which was nothing like I was expecting.

Thanks

Aaron
 
Engineering news on Phys.org
I recommend using some simple trial functions, and seeing what you get for a spectrum. Something like sin(2πt), which has a frequency of 1 Hz (for t measured in seconds). See where the non-zero number(s) is/are in the spectrum; this corresponds to an amplitude of 1 at a frequency of 1 Hz.
Also try the function f(t)=1, to see how a 0-Hz (DC) signal is transformed. Keep things simple until you understand how the frequency and amplitude is related to the output. Then you can put more complicated signals in and know what the output signifies.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
Replies
6
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
20
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 31 ·
2
Replies
31
Views
12K