I am trying to find the time delay between two ultrasound pulses using Matlab, I have tried using xcorr and finddelay (which uses xcorr) but I get two different results. I would