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!