I want to apply the same effect as imagesc to 3D matrix.
Here's my code
[x y z] = ind2sub(size(temp), find(temp));
The code result is as above.
However, I want to show the relative difference according to the value of the red dots above. What should I do?