How to display image from 2d matrix?

32 views (last 30 days)
Jane
Jane on 11 Sep 2021
Answered: KSSV on 11 Sep 2021
I have 200*200 double matrix and I want to see thee image generated.What code snippet should I use?

Accepted Answer

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

More Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!