Border detection out of regular shape
Show older comments
Hi, I have this shape in the plot, but I want to detect the 4 tails sticking out of the square in order to remove them. How could I detect them? I only have a single vector of points (x,y) which are in the plot. Attached is the variable containing the points.
Thanks!

4 Comments
Image Analyst
on 8 Apr 2022
So it's not a digital image, but a plot? That means you plotted it somehow. So just don't plot the lines. Only plot the square. You're the one who plotted it so you have complete control over what gets plotted. Or is there something I'm missing?
Albert
on 8 Apr 2022
Les Beckham
on 8 Apr 2022
If you attach your data as a mat file using the paperclip (either edit your question or add it in a comment), it will make it easier to help you.
Albert
on 8 Apr 2022
Accepted Answer
More Answers (0)
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!