How to display image from 2d matrix?

10 vues (au cours des 30 derniers jours)
Jane
Jane le 11 Sep 2021
Réponse apportée : KSSV le 11 Sep 2021
I have 200*200 double matrix and I want to see thee image generated.What code snippet should I use?

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by