How can I count scatter data surrounded by shapes?

1 view (last 30 days)
How can I count how many pieces of data are wrapped around a particular shape?
I drew a shape and scattered the data on it.
The data of figures are RH2 and AT2.
The scatter data are humid1 and temp1.
How can I count scatter data surrounded by shapes?
I need expert help.
Thank you.
attachment : datas, m-file and image
  2 Comments
Changho LEE
Changho LEE on 4 Jul 2020
Thanks, it worked out well.
If you leave a post to reply, I will adopt it.
Thank you.

Sign in to comment.

Accepted Answer

darova
darova on 5 Jul 2020
Use inpolygon

More Answers (0)

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!