surfi

Version 1.2.0.0 (8.08 KB) by Ben Mitch
Plot (or return) surface interpolated from supplied vertices.
2.7K Downloads
Updated 30 Aug 2010

View License

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 (2024). surfi (https://www.mathworks.com/matlabcentral/fileexchange/6169-surfi), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.2.0.0

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

1.0.0.0

more info