Signal Processing Cross Correlation

1 visualización (últimos 30 días)
Bella Sam
Bella Sam el 12 de Jul. de 2012
Greetings, I am new to signal processing. Would like a help to understand these codes I came across in file exchange. These codes were said to estimate spot spacing through image mean intensity projection.
yProfile = mean(a); ac = xcov(yProfile); %cross correlation p1 = diff(ac([1 1:end])); p2 = diff(ac([1:end end]));
I have read doc and help xcov but without sample/demo/tutorial I couldn't understand. Pls could someone explain it in simpler form and perhaps some exercise? And also what does [1 1:end] and [1: end end] means?
Thanks in advance guys :)
  3 comentarios
Greg Heath
Greg Heath el 12 de Jul. de 2012
xcov is cross covariance, not cross correlation
xcorr is cross correlation
Check a statistics manual, text or wikipedia for the differences between
1. covariance and correlation
2. cross-covariance and cross-correlation
Bella Sam
Bella Sam el 7 de En. de 2013
Thanks a lot Greg! So sorry for this late reply. This helps me a lot in my work. I also go through signal processing books and matlab for beginners along the process. :)

Iniciar sesión para comentar.

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by