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일

0 개 추천

댓글 수: 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])
KSSV
KSSV 2017년 5월 9일
No it is the same....it will separate the points depending on the grid.
Asim Ismail
Asim Ismail 2017년 5월 9일
편집: Asim Ismail 2017년 5월 9일
Then how can we get data set for each grid out of that algorithm?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

태그

질문:

2017년 5월 9일

편집:

2017년 5월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by