Corr2 function returns NaN
조회 수: 4 (최근 30일)
이전 댓글 표시
I've been trying to correlate two raster using corr2 but unfortunately,one of the two images contain NaN values which makes the result of correlation NaN. Is there a way to ignore these NaN values to get the correlation between images? I believe eliminating these values will not solve the problem because the size of the array will change. Two rasters must have the same dimensions for corr2 to work.
댓글 수: 0
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!