need help !! working with wave files in matlab

Discussion in 'Programmer's Corner' started by butterfly, Feb 13, 2009.

  1. butterfly

    Thread Starter New Member

    Jan 28, 2009
    3
    0
    hi,
    i need to find a method to get only data from a wave file. I want to get rid of the time information from a wave file. does anyone know how to get rid of the time information and get only data from a wave file?
     
  2. Dave

    Retired Moderator

    Nov 17, 2003
    6,960
    144
    Do you mean WAV file? If so, you can use WAVREAD:

    Code ( (Unknown Language)):
    1. y = wavread('filename');
    Where y is the sampled data from WAV file filename.

    Dave
     
  3. paramhans048

    New Member

    Feb 13, 2009
    2
    0
    How could compiler of c is written in c language it self ?
     
  4. paramhans048

    New Member

    Feb 13, 2009
    2
    0
    How could compiler of c is written in c language it self ?
     
  5. butterfly

    Thread Starter New Member

    Jan 28, 2009
    3
    0
    thanks for the reply. I used the wavread command. I need to get this matrix of values to simulink model. how can i input it to a simulink model? which block should I use? I tried using 'From Workspace' block. It does not work. :(
     
Loading...