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?

Antworten (1)

KSSV
KSSV am 9 Mai 2017

0 Stimmen

3 Kommentare

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])
KSSV
KSSV am 9 Mai 2017
No it is the same....it will separate the points depending on the grid.
Asim Ismail
Asim Ismail am 9 Mai 2017
Bearbeitet: Asim Ismail am 9 Mai 2017
Then how can we get data set for each grid out of that algorithm?

Melden Sie sich an, um zu kommentieren.

Kategorien

Tags

Gefragt:

am 9 Mai 2017

Bearbeitet:

am 9 Mai 2017

Community Treasure Hunt

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

Start Hunting!

Translated by