How to display a matrix as a picture?
2 ビュー (過去 30 日間)
古いコメントを表示
I want to save a matrix in the matlab as an image to use in microsoft word. Let's say
A= [0 1; 2 3]
I want to save this (or display it) as a picture like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/191242/image.jpeg)
Is it possible to do?
0 件のコメント
回答 (1 件)
Sandro Lecci
2018 年 6 月 14 日
Hi,
What about the function imagesc ?
A = [0 1; 2 3];
imagesc(A);
colorbar;
Best,
参考
カテゴリ
Help Center および File Exchange で Numeric Types についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!