How to find cross correlation coefficient between two 2D matrices?

답변 (1개)

Cris LaPierre
Cris LaPierre 2019년 11월 2일

0 개 추천

If you have the Signal Processing Toolbox, use xcorrr2.

댓글 수: 3

SOUVIK MITRA
SOUVIK MITRA 2019년 11월 2일
It gives matrix but I want to know about the correlation coefficient.
Cris LaPierre
Cris LaPierre 2019년 11월 2일
It returns the autocorrelation matrix.
"The 2-D cross-correlation of an M-by-N matrix, X, and a P-by-Q matrix, H, is a matrix, C, of size M+P–1 by N+Q–1"
Yes I know this, but is there any way to find normalised value for correlation matrix which gives me one value (like
xcorr(X,Y, lag, 'coeff')
this returns cross correlation coeff of two signals)

댓글을 달려면 로그인하십시오.

카테고리

질문:

2019년 11월 2일

댓글:

2019년 11월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by