How to display a matrix as a picture?
Show older comments
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:

Is it possible to do?
Answers (1)
Sandro Lecci
on 14 Jun 2018
Hi,
What about the function imagesc ?
A = [0 1; 2 3];
imagesc(A);
colorbar;
Best,
1 Comment
Ege Gurtan
on 14 Jun 2018
Categories
Find more on Operators and Elementary Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
