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!!!
Best Answer