noise=audioread('noisePresentation.wav');
response=audioread('responsePresentation.wav');
result=xcorr(noise,response);
% plot(result)
impulse=result(240000:end);
freq=fft(impulse);
plot(abs(freq(1:120000)))