Convert Scatter Points to a gray scale image

Hi everybody,
I have 10000 random 2d points(x,y).
Each point has an amplitude(z).
I want to show this points in an image with arbitary size. For example (200,200).
I will be so thankful if you help me.

Answers (1)

use imagesc to display

1 Comment

Thank you,
Ok,but how? data are random and amplitude is a vector.

Sign in to comment.

Asked:

on 27 Feb 2021

Commented:

on 27 Feb 2021

Community Treasure Hunt

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

Start Hunting!