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?

Risposte (1)

Matt J
Matt J il 2 Dic 2019

0 voti

3 Commenti

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.
Matt J
Matt J il 2 Dic 2019
Because it is a homework assignment?
"I want to create my own function" -- OK, we'll leave it to you.

Accedi per commentare.

Richiesto:

il 2 Dic 2019

Commentato:

il 2 Dic 2019

Community Treasure Hunt

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

Start Hunting!

Translated by