how to find the value of the diagnol of the attached image
조회 수: 3 (최근 30일)
이전 댓글 표시
I hae attached the .mat file also in which the imagesc was performed
댓글 수: 1
답변 (1개)
Jon
2021년 12월 3일
From your matlab.mat file it seems that you are showing the image represented by the matrix corr_data.
You can get the diagonal elements of this matrix using:
d = diag(corr_data)
From what I can see they are all either 1 or NaN
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!