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?

Antworten (1)

Sandro Lecci
Sandro Lecci am 14 Jun. 2018

0 Stimmen

Hi,
What about the function imagesc ?
A = [0 1; 2 3];
imagesc(A);
colorbar;
Best,

1 Kommentar

Ege Gurtan
Ege Gurtan am 14 Jun. 2018
Sorry but this code gives the following
I need a picture like this

Melden Sie sich an, um zu kommentieren.

Kategorien

Gefragt:

am 14 Jun. 2018

Kommentiert:

am 14 Jun. 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by