about audio processing

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

Reference: http://www.mathworks.com/matlabcentral/answers/28232-about-audio-processing

Sign in to comment.

 Accepted Answer

y = wavread('DeadCityRadio.wav', 'native');
y8 = typecast(y(:), 'uint8');
ybin = dec2bin(y8, 8) - '0';

More Answers (0)

Categories

Find more on Audio Processing Algorithm Design in Help Center and File Exchange

Products

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!