Distinguish random points per grid

Is there any way to make different groups of points that belongs to different grid?
For example, in this figure, how we can notify that which point belong to which grid? and make set for each grid?

Answers (1)

KSSV
KSSV on 9 May 2017

3 Comments

I think that is different, if you see my code it will give you some view. What i want is to make groups of points for each grid.
a=rand(2,100)*100;
scatter(a(1,:),a(2,:))
grid on
set(gca,'xtick',[0:33.33333:100])
set(gca,'ytick',[0:33.33333:100])
No it is the same....it will separate the points depending on the grid.
Asim Ismail
Asim Ismail on 9 May 2017
Edited: Asim Ismail on 9 May 2017
Then how can we get data set for each grid out of that algorithm?

Sign in to comment.

Categories

Tags

Asked:

on 9 May 2017

Edited:

on 9 May 2017

Community Treasure Hunt

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

Start Hunting!