필터 지우기
필터 지우기

Auto correlation of a matrix error?

조회 수: 2 (최근 30일)
Alberto Paniate
Alberto Paniate 2020년 10월 13일
댓글: Athul Prakash 2020년 10월 16일
Hi,
I have a matrix 1000x1000 (E) that represents a picture of a pattern of speckle. In order to find the largeness of these speckle I thought to do a cross correlation.
So I write dimension= xcorr2(E), is this correct?
Because matlab gives me this error:
Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.
Error in Intensity (line 371)
cross(v)=xcorr2(E)
  댓글 수: 1
Athul Prakash
Athul Prakash 2020년 10월 16일
Could you post more of your code/variables here? I tried xcorr2() on a (random) 1000x1000 matrix and it was working fine. Further, which Matlab release are you using?
Could 'Intensity' mentioned in the error be a custom file on your hard disk? To myknowledge, Matlab does not include a file named 'Intensity.m'

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Correlation and Convolution에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by