How to divide an area having multiple random points and work on each part separately?
이전 댓글 표시
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 100x100 plot and divided that area into 9 grids.
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])
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!
댓글 수: 4
KL
2017년 5월 10일
You should rather continue with the old thread with your explantions. Duplicating a question is not a good idea.
Asim Ismail
2017년 5월 10일
Jan
2017년 5월 10일
What exactly does "make groups" mean?
Asim Ismail
2017년 5월 10일
편집: Asim Ismail
2017년 5월 10일
채택된 답변
추가 답변 (1개)
Image Analyst
2017년 5월 10일
0 개 추천
Use max, min, and linspace.
댓글 수: 4
Asim Ismail
2017년 5월 10일
Jan
2017년 5월 10일
@asim: Accepting an answer means, that it has solved your problem.
Asim Ismail
2017년 5월 10일
Salma Hassan
2017년 5월 10일
mr.image analyst i sent you a comment in this link : https://www.mathworks.com/matlabcentral/answers/177316-how-to-show-my-extracted-features#comment_451853
plz can you see it
카테고리
도움말 센터 및 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!