MATLAB: Plot A Matrix

matricesmatrixplot

Is it possible to plot a matrix? i have a matrix 7×7 with valure around 1 and i want to show (maybe with different colour) how near are to 1 these value as it is a temperature or something like that.

Best Answer

imagesc() would probably be better than surf() for this purpose.
imagesc(magic(7))
Related Question