filename="test.raw"; fh=fopen (filename,"r"); sound=fread(fh,Inf,"float32"); fclose(fh); real(fft(sound(1:256)))