- Calculate the centroid of the given set of points and determine the distance of each coordinate from this centroid.
- Set a threshold distance and create a set of valid coordinates that will be used in the boundary generation.
- Generate the boundary from this set of valid coordinates and keep varying the threshold distance until the desired results.
- https://in.mathworks.com/help/matlab/ref/vecnorm.html
- https://in.mathworks.com/help/matlab/ref/find.html
- https://in.mathworks.com/help/matlab/ref/boundary.html
- https://in.mathworks.com/help/matlab/ref/trisurf.html