Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Matlab Audio Signal Analysis!

  1. Nov 8, 2008 #1


    User Avatar


    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!
  2. jcsd
  3. Nov 8, 2008 #2
    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:
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Matlab Audio Signal Analysis!
  1. Switching Audio Signals (Replies: 17)

  2. Audio Signal Project (Replies: 15)