Easy question for you geniuses, what is wrong with my input for this matlab function?
Show older comments
Ok so I have done a delaunay triangulation on a 3d point cloud.
tri=delaunay(x,y,z);
and graphed it with trisurf(tri,xval,yval,zval)
Now I am trying to run this function: <http://www.mathworks.com/help/techdoc/ref/delaunaytri.convexhull.html>
which is giving me this error:
>> [k V] = convexHull(tri)
Undefined function 'convexHull' for input arguments of type 'double'.
here is my question. What am I doing wrong, and what is the tri array actually mean? It looks like a huge array of numbers. Will the volume calculation in the convexHull function work without having the x,y,z values which are measured in millimeters?
Thank you!!!
Accepted Answer
More Answers (0)
Categories
Find more on Delaunay Triangulation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!