Grayscale Image with z-dimension as Grayscale value

I have data comprising pixel location (x,y) and corresponding height (z) at particular pixel location. I want to plot 2D grayscale Image with my z dimension as grayscale value across varying xy positions.

Asked:

on 15 Jul 2017

Commented:

on 15 Jul 2017

Community Treasure Hunt

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

Start Hunting!