How to display image from 2d matrix?

31 Ansichten (letzte 30 Tage)
Jane
Jane am 11 Sep. 2021
Beantwortet: KSSV am 11 Sep. 2021
I have 200*200 double matrix and I want to see thee image generated.What code snippet should I use?

Akzeptierte Antwort

KSSV
KSSV am 11 Sep. 2021
Let A be your matrix.
figure
imshow(A)
figure
imagesc(A)
figure
pcolor(A) ;
shading interp;
colorbar

Weitere Antworten (0)

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by