It looks like that 'xcorr' does not calculate Pearson correlation coefficient directly. To get Pearson correlation coefficient, we have to remove the mean first and then call 'xcorr' which will then give Pearson correlation coefficient.
Formula for cross-correlation in matlab
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
When we calculate cross correlation using the function 'xcorr' with 'coeff' option, does the function calculate Pearson correlation coefficient or something else?
0 commentaires
Réponse acceptée
Plus de réponses (1)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!