Is it possible to access a cloud of a scatter plot in Matlab

4 views (last 30 days)
Hi
I have a scatter plot with lots of pixcell values which I plotted in Matlab. Is it possible for me to pull out the cloud of the condensed area?
I mean, In the attached picture I want to have the points of the yellow area.
Is there any way to access it in Matlab?

Accepted Answer

Cris LaPierre
Cris LaPierre on 12 Aug 2020
How did you create the yellow area? If you know the boundary, you could use inpolygon.
  2 Comments
Honey
Honey on 13 Aug 2020
I draw it in paint. No, I don't have the boundry.
I just wanted to know the condensed area.
Cris LaPierre
Cris LaPierre on 13 Aug 2020
I'm not aware of a great way to do this. You probably want to look into clustering methods. I would probably try something like dbscan. You can see a brief overview of common clustering methods in the Introduction to Clustering Algorithms video from our Data Processing and Feature Engineering with MATLAB course on Coursera.

Sign in to comment.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!