Autocorrelation and Alignment
3 views (last 30 days)
Show older comments
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.
0 Comments
Accepted Answer
Abhishek Gupte
on 16 Dec 2011
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 ).
More Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!