Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

converting .wav files to .mat

1,231 views
Skip to first unread message

Alberto J Alvarez

unread,
Nov 21, 1999, 3:00:00 AM11/21/99
to
Hello,

I'm trying to analyze same .wav files, and at this point I have been
using wavread and plotting the data to analyze the .wav file. I was
wondering if any one new how I can convert a .wav file to a .mat file so
that I could use sptool?

Thanks,

Beto


Jordan Rosenthal

unread,
Nov 23, 1999, 3:00:00 AM11/23/99
to
Alberto,

I believe the SPTOOL has an import function which will let you import
signals that are defined as variables in the workspace. So use wavread to
read the data into some variables and then use the import from workspace
feature to get it into SPTOOL.

- Jordan

"Alberto J Alvarez" <ajal...@U.Arizona.EDU> wrote in message
news:Pine.A41.4.10.991121...@nevis.u.arizona.edu...

HIT instrumentation engineering

unread,
May 4, 2010, 9:49:04 AM5/4/10
to
Alberto J Alvarez <ajal...@U.Arizona.EDU> wrote in message <Pine.A41.4.10.991121...@nevis.u.arizona.edu>...

eliont

unread,
Jul 18, 2012, 3:19:16 AM7/18/12
to
"HIT instrumentation engineering" <prerna...@gmail.com> wrote in message <hrp8kg$p56$1...@fred.mathworks.com>...
-------------------------------------------------------------------------------------------------------------------

% To convert a *.wav into *.mat in matlab try this:

%reads wav file
sample_sound = wavread('lion_roar.wav');
%save the wav file into the default extension (.mat)
save sample_sound;

% Enjoy

------------------------------------------------------------------------------------------------------------------
0 new messages