Time Delay of Arrival

1 Ansicht (letzte 30 Tage)
Dennis
Dennis am 24 Feb. 2012
Beantwortet: Linas Svilainis am 2 Dez. 2019
hi there, I want to find time delay of a real time source using 2 channel microphone. First of all, I need to record the source in real time, then calculate it's delay using matlab. So, I don't have any idea to do that. Could someone help me , please.

Antworten (2)

Honglei Chen
Honglei Chen am 24 Feb. 2012
  1. record the data.
  2. read the data into MATLAB
  3. do a cross correlation between two channels and translate the lag to time
  2 Kommentare
Dennis
Dennis am 24 Feb. 2012
how to do step 3?
Wayne King
Wayne King am 24 Feb. 2012
Have you looked at the documentation for xcorr?

Melden Sie sich an, um zu kommentieren.


Linas Svilainis
Linas Svilainis am 2 Dez. 2019
Try two functions below:
Those do exactly what you need with subsample resolution

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by