about audio processing
3 views (last 30 days)
Show older comments
sir i am sorry to say this but didn't get your previous answer will you please explain me,how can i use dec2bin function in order to convert wav file into binary values with help of an example because this is my first time.sorry sir plz reply
1 Comment
Walter Roberson
on 6 Feb 2012
Reference: http://www.mathworks.com/matlabcentral/answers/28232-about-audio-processing
Accepted Answer
Walter Roberson
on 6 Feb 2012
y = wavread('DeadCityRadio.wav', 'native');
y8 = typecast(y(:), 'uint8');
ybin = dec2bin(y8, 8) - '0';
More Answers (0)
See Also
Categories
Find more on Audio I/O and Waveform Generation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!