Cloud of points Convex Hull

Mathworks.png
How do I get a function "getConvexHull(x,y)" that returns the indices of the points that lay on the convex hull of the cloud, defined by a list of x- and y-coordinates x and y, where both input arrays have length n, with n ≥ 3?

Answers (1)

Matt J
Matt J on 2 Dec 2019

3 Comments

Thanks, but it should be done with code not with another function.
I want to create my own function to get these points for more flexibility.
Because it is a homework assignment?
"I want to create my own function" -- OK, we'll leave it to you.

Sign in to comment.

Asked:

on 2 Dec 2019

Commented:

on 2 Dec 2019

Community Treasure Hunt

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

Start Hunting!