How to display image from 2d matrix?

I have 200*200 double matrix and I want to see thee image generated.What code snippet should I use?

 Respuesta aceptada

KSSV
KSSV el 11 de Sept. de 2021
Let A be your matrix.
figure
imshow(A)
figure
imagesc(A)
figure
pcolor(A) ;
shading interp;
colorbar

Más respuestas (0)

Productos

Versión

R2021a

Preguntada:

el 11 de Sept. de 2021

Respondida:

el 11 de Sept. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by