Importing wav files in MATLAB

Discussion in 'Programmer's Corner' started by Nanophotonics, Mar 21, 2010.

  1. Nanophotonics

    Thread Starter Active Member

    Apr 2, 2009
    365
    3
    Hello,

    I've imported a wav file into MATLAB as below: -

    How would I know if MATLAB is plotting the right length of time, frequency and PSD? Also I would like to prevent MATLAB from plotting the negative frequencies.

    Thanks
     
    Last edited: Mar 21, 2010
  2. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
  3. johndoe45

    Member

    Jan 30, 2010
    364
    1
    mean change axis xmin=0
    axis([xmin xmax ymin ymax])

    or not calculate them at all. this would be hard.
     
    Last edited: Mar 22, 2010
  4. Nanophotonics

    Thread Starter Active Member

    Apr 2, 2009
    365
    3
Loading...