Output 'y' from wavread(filename): what is it?
1 view (last 30 days)
Show older comments
I was wondering what exactly is the data stored in two columuns by y. If, for instance, I run y = wavread(a, 44100) (my file has a fs = 44100, so this would mean I am getting all the samples for the first second. Is this right?). So I would imagine y gives me the info, but I don't know exactly what are represented by the two columns). Thanks!
0 Comments
Accepted Answer
Walter Roberson
on 17 Jan 2013
The columns represent channels. Usually column 1 is the left channel and column 2 is the right channel.
0 Comments
More Answers (2)
Jan
on 17 Jan 2013
The values of y are the amplitude, and for stereo files you get 2 columns.
0 Comments
See Also
Categories
Find more on Propagation and Channel Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!