Qhull-specific options are no longer supported. Remove the
K = convhull(X,Y)
K = convhull(X,Y,Z)
K = convhull(X)
K = convhull(...,'simplify', logicalvar)
[K,V] = convhull(...)
convhull returns the convex hull of a set
of points in 2-D or 3-D space.
K = convhull(X,Y) returns
the 2-D convex hull of the points (
Y are column vectors.
The convex hull
K is expressed in terms of a vector
of point indices arranged in a counterclockwise cycle around the hull.
K = convhull(X,Y,Z) returns
the 3-D convex hull of the points (
K is a triangulation representing
the boundary of the convex hull.
K is of size
mtri is the number of triangular facets.
That is, each row of
K is a triangle defined in
terms of the point indices.
K = convhull(X) returns
the 2-D or 3-D convex hull of the points
variant supports the definition of points in matrix format.
the number of points and
ndim is the dimension
of the space where the points reside, 2 ≦
3. The output facets are equivalent to those generated by the 2-input
or 3-input calling syntax.
K = convhull(...,'simplify', logicalvar) provides
the option of removing vertices that do not contribute to the area/volume
of the convex hull, the default is false. Setting
true returns the topology in a more concise form.
[K,V] = convhull(...) returns
the convex hull
K and the corresponding area/volume