MATLAB: Plotting matrix of number as image

figurematrix

hi to all, my problem is to draw my matrix… if for example i have A=magic(3); if now i want to draw all the elements of my matrix what can i do??? i try to use command plot but i have no result because its use x values versus y values for plotting… can anybody help please????
Related Question