What is the plot when analyzing audio signals in Matlab?

Click For Summary
SUMMARY

The discussion focuses on plotting the magnitude versus frequency of audio signals using MATLAB. The user successfully reads a WAV file and computes its Fast Fourier Transform (FFT), resulting in a symmetric plot due to the properties of FFTs applied to real-valued signals. The peaks observed at both ends of the plot represent the magnitude of the frequency components, with the user advised to consider only half of the FFT result when analyzing magnitude. For further details, course materials are available from Stanford's online resources.

PREREQUISITES
  • Understanding of Fast Fourier Transform (FFT) in MATLAB
  • Familiarity with audio signal processing concepts
  • Knowledge of complex numbers and their properties
  • Experience with MATLAB plotting functions
NEXT STEPS
  • Learn MATLAB's FFT function and its parameters
  • Explore MATLAB's plotting functions for visualizing frequency data
  • Study the mathematical properties of FFTs for real-valued signals
  • Investigate audio signal analysis techniques in MATLAB
USEFUL FOR

Audio engineers, signal processing researchers, and MATLAB users interested in analyzing and visualizing audio signals through frequency domain techniques.

SIP
Messages
3
Reaction score
0
Hi,

I am trying to get a plot of the sound's magnitude vs. frequency. I have managed to read in a wav file as a matrix. I then compute the fft of this matrix. When I plot the absolute value of this, I get a symmetric plot with peaks at the start and the end. What is this a plot of? Is it magnitude vs. frequency? Someone please help, I'm really confused! Any help would be much appreciated!
 
Physics news on Phys.org
when you do the fft of a real-valued signal, you get a series of complex-valued frequencies where the real and "imaginary" parts are vectors containing the phase information (that is, how much those sinusoids are shifted along the x-axis).

because of the mathematical properties of ffts of real signals, the result is also a series of complex conjugates symmetric about zero. when you take the magnitude of the conjugates, they are obviously equal. so... when you're only interested in magnitude, you only look at half of the result.

if you want details, you could download the course materials here:
http://see.stanford.edu/SEE/courseinfo.aspx?coll=84d174c2-d74f-493d-92ae-c3f45c0ee091
 
Last edited by a moderator:

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 4 ·
Replies
4
Views
8K