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".
引用格式
Ben Mitch (2024). surfi (https://www.mathworks.com/matlabcentral/fileexchange/6169-surfi), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!