MATLAB: Plz tell me how i save this audio and after that i will check that this audio file matches or not please help me in this regard….

audio

a= audiorecorder(8000,8,1)
record(a,5)
b=getaudiodata(a)
plot(b)
sound(b)

Best Answer

Save it where?
save('OutputFile.mat', 'b'); %save as .mat file
wavwrite(b, 'OutputFile.wav'); %save as WAV file.
Related Question