MATLAB: I am getting an empty triangulation for an existed data as shown below

DT =
delaunayTriangulation with properties:
Points: [3307x3 double]
ConnectivityList: []
Constraints: []
Error using delaunayTriangulation/freeBoundary The triangulation is empty.

Best Answer

Please do not post new questions as a comment. The right place for a new question is a new thread.
The error "Undefined function ..." means, that the function cannot be found by Matlab. Save the function to a user defined folder and add the folder to Matlab's PATH, e.g. by addpath or pathtool. See the help for these commands, e.g.:
doc addpath
Hint: many newcomers get this error, such that a search in this forum or in the internet would reveal the solution soon.