MATLAB: Wav format data type in matlab

typewavread

Hi, I found that data was in int type in wav file, but when I input the wav file into matlab using wavread(), I found that the data was in float type. Can someone tell me why?

Best Answer

You most likely did not use the format option available in wavread.m
[y,fs] = wavread(file,'native');
If omitted, this defaults to double-precision.
Related Question