How to display image from 2d matrix?

32 次查看(过去 30 天)
I have 200*200 double matrix and I want to see thee image generated.What code snippet should I use?

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by