K = convhull(P)
K = convhull(x, y)
K = convhull(x, y, z)
K = convhull(..., 'Simplify', tf)
[K, A] = convhull(x, y)
convhull(P)
convhull computes the convex hull of planar or spatial points.
When called without output for planar points, it plots the hull.
P = [0 0; 1 0; 1 1; 0 1; 0.4 0.6];
[K, A] = convhull(P);
convhull(P)
| Version | Description |
|---|---|
| 2.0.0 | Initial version. |