Formula for cross-correlation in matlab

When we calculate cross correlation using the function 'xcorr' with 'coeff' option, does the function calculate Pearson correlation coefficient or something else?

 Respuesta aceptada

Sagar
Sagar el 11 de Mzo. de 2016

0 votos

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.

Más respuestas (1)

Etiquetas

Preguntada:

el 9 de Mzo. de 2016

Respondida:

el 11 de Mzo. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by