Signal Processing - Cross-Correlation to obtain Lag times - further question related to previous answer
Show older comments
Hi,thank you for your answer, the sampling frequency was as follows: fs=1000; dt=1/fs; Tg=(length(RGMax)-1)*dt; tm=(0:dt:Tg);
The idea is for the xcorr function to give the time lag that exists when the two signals are maximally correlated. The aim of the analysis is to investigate whether the time lag decreases following a period of motor learning.
How does this relate to the sampling interval?
Accepted Answer
More Answers (0)
Categories
Find more on Correlation and Convolution in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!