Time Delay of Arrival
Mostrar comentarios más antiguos
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.
Respuestas (2)
Honglei Chen
el 24 de Feb. de 2012
0 votos
- record the data.
- read the data into MATLAB
- do a cross correlation between two channels and translate the lag to time
2 comentarios
Dennis
el 24 de Feb. de 2012
Wayne King
el 24 de Feb. de 2012
Have you looked at the documentation for xcorr?
Linas Svilainis
el 2 de Dic. de 2019
0 votos
Try two functions below:
Those do exactly what you need with subsample resolution
Categorías
Más información sobre Correlation and Convolution en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!