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?

回答(1 个)

KSSV
KSSV 2017-5-9

3 个评论

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.
Then how can we get data set for each grid out of that algorithm?

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by