Autocorrelation and Alignment

1 回表示 (過去 30 日間)
Dinesh Manohar
Dinesh Manohar 2011 年 12 月 16 日
I have a speech signal with 18000 samples. Call this the original signal. Also, I have the same speech signal with a time delay. Now, the task I need to achieve is to auto correlate the signals and align the signal to the original signal time index.
Can you please help me with it. Thank you.

採用された回答

Abhishek Gupte
Abhishek Gupte 2011 年 12 月 16 日
1. Use XCORR in the Signal Processing Toolbox to find the correlation between the two signals;
2. Find the index of the max value of the correlation output - n;
3. If L is the length of the two signals, the delay between the two signals is abs( n-L ).
  1 件のコメント
Dinesh Manohar
Dinesh Manohar 2011 年 12 月 16 日
Thank you.

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

その他の回答 (1 件)

Dinesh Manohar
Dinesh Manohar 2011 年 12 月 16 日
I have an extended question pertaining to the same topic.
I have a signal say , x and I have another signal say y which is y= x(l:m), where min(size(x))<l<m< max(size(x)). That is , I have a part of the signal. Now, I correlated the function and plotted it. I got a max of the plot at some index and the plot gradually started decreasing over increase in time index. Now, as per your comment, it means to say that the signal y is correlated in that lag shown by the plot? Please help me in this regard.
Thank you.

カテゴリ

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