How to display image from 2d matrix?

9 visualizzazioni (ultimi 30 giorni)
Jane
Jane il 11 Set 2021
Risposto: KSSV il 11 Set 2021
I have 200*200 double matrix and I want to see thee image generated.What code snippet should I use?

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Images in Help Center e File Exchange

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by