how to find the value of the diagnol of the attached image

1 次查看(过去 30 天)
I hae attached the .mat file also in which the imagesc was performed

回答(1 个)

Jon
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

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by