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 で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!