フィルターのクリア

Time Delay of Arrival

4 ビュー (過去 30 日間)
Dennis
Dennis 2012 年 2 月 24 日
回答済み: Linas Svilainis 2019 年 12 月 2 日
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.

回答 (2 件)

Honglei Chen
Honglei Chen 2012 年 2 月 24 日
  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 件のコメント
Dennis
Dennis 2012 年 2 月 24 日
how to do step 3?
Wayne King
Wayne King 2012 年 2 月 24 日
Have you looked at the documentation for xcorr?

サインインしてコメントする。


Linas Svilainis
Linas Svilainis 2019 年 12 月 2 日
Try two functions below:
Those do exactly what you need with subsample resolution

カテゴリ

Help Center および File ExchangeCorrelation and Convolution についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by