plotting matrix of number as image
이전 댓글 표시
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????
채택된 답변
추가 답변 (3개)
Matt Fig
2011년 5월 20일
surf(magic(3))
rotate3d
% or
image(magic(3))
Walter Roberson
2011년 5월 20일
imagesc(magic(3))
카테고리
도움말 센터 및 File Exchange에서 Mathematics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!