k = convhull(___,'Simplify',tf)
specifies whether to remove vertices that do not contribute to the area or volume of the
convex hull. tf is false by default.
For 2-D points, k is a column vector containing the row
indices of the input points that make up the convex hull, arranged
counterclockwise.
For 3-D points, k is a 3-column matrix representing a
triangulation that makes up the convex hull. Each row represents a facet of the
triangulation. The values represent the row indices of the input points.
Area or volume of the convex hull, returned as a scalar.
For 2-D points, av is the area of the convex hull.
For 3-D points, av is the volume of the convex hull.
Tips
To plot the output of convhull in two dimensions, use the plot function. To plot the output of convhull in three
dimensions, use trisurf or trimesh.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.