Qhull-specific options are no longer supported. Remove the
from all instances in your code that pass it to
K = convhull(X,Y)
K = convhull(X,Y,Z)
K = convhull(X)
K = convhull(...,'simplify', logicalvar)
[K,V] = convhull(...)
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
xx = -1:.05:1; yy = abs(sqrt(xx)); [x,y] = pol2cart(xx,yy); k = convhull(x,y); plot(x(k),y(k),'r-',x,y,'b*')
convhull returns the convex
hull of a set of points in 2-D or 3-D space.