surfi

Plot (or return) surface interpolated from supplied vertices.

You are now following this Submission

I often need to visualise a surface formed by a set of vertices when those vertices are not on a regular grid. surf() won't do this, so i made this file to generate the surface then plot it. The suffix `i' indicates "interpolate".

Also included is triangulate (a port from third party code, see help for details), which returns the surface without plotting it. This needs compiling before use.

Note that if you sort vertices before passing them to the function performance will generally be better, since you can sort them more intelligently than the algorithm can. See "help surfi".

Cite As

Ben Mitch (2026). surfi (https://se.mathworks.com/matlabcentral/fileexchange/6169-surfi), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

Added missing file, and tidied interfaces and help. Added auto-compile script.

1.0.0.0

more info