surf() is a great visualization tool, but it requires x and y coordinates to be gridded. If collecting x, y, and z data from an experiment, you often wind up with a random collection of x-y points, which cannot be plotted using surf. surfarb uses delaunay triangulation to generate a surface from an arbitrary collection of points, and can be used as a drop-in replacement for surf for these kinds of data sets.
Eric Pahlke (2022). surfarb.m (https://www.mathworks.com/matlabcentral/fileexchange/56117-surfarb-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!