I have asked this question before but couldnt get a satisfactory answer, so let me explain it a bit more, maybe i can make myself more clear.
I have scattered 100 points randomly in a 100×100 plot and divided that area into 9 grids.
a=rand(2,100)*100;scatter(a(1,:),a(2,:))grid onset(gca,'xtick',[0:33.33333:100])set(gca,'ytick',[0:33.33333:100])
Now I want to get some idea that how can I make groups for each grid (having points within) so that I can work on each grid separately.
Any help will be appreciated, thanks a lot!
Best Answer