Matlab provides triplot that uses Delaunay Triangulation to plot surfaces from scattered data. Matlab also provides scatteredInterpolant to interpolate from scattered data onto a regular grid, but sometimes all you want is to interpolate within the scattered data you already have.
This function uses Delaunay Triangulation to interpolate within scattered data and plot the results. (Scattered data is any data in X, Y, and Z vector form, and that doesn't need uniform spacing on an XY grid.) This function is useful whenever you have coarse data for which a coloured surface plot shows artifacts, even with interpolated shading. The example file demonstrates a few examples of the intended use of this function.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.