1 2 3 4 5 6 7
filename="test.raw"; fh=fopen (filename,"r"); sound=fread(fh,Inf,"float32"); fclose(fh); real(fft(sound(1:256)))