plotting matrix of number as image
Mostrar comentarios más antiguos
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????
Respuesta aceptada
Más respuestas (3)
Matt Fig
el 20 de Mayo de 2011
surf(magic(3))
rotate3d
% or
image(magic(3))
Walter Roberson
el 20 de Mayo de 2011
imagesc(magic(3))
pier
el 20 de Mayo de 2011
0 votos
Categorías
Más información sobre Line Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!