How to display a matrix as a picture?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Sandro Lecci
le 14 Juin 2018
Hi,
What about the function imagesc ?
A = [0 1; 2 3];
imagesc(A);
colorbar;
Best,
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!