A=rand(5); imagesc(A); %image colorbar
matlab -- 给定一个矩阵作二维图
原文:https://www.cnblogs.com/ai-learning-blogs/p/13377430.html