Commands for displaying a matrix as an image. ... The easiest way to do this is with the axis image command. For example, these commands display the earth ...
www.mathworks.com