surfi
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".
Citation pour cette source
Ben Mitch (2025). surfi (https://fr.mathworks.com/matlabcentral/fileexchange/6169-surfi), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.2.0.0 | Added missing file, and tidied interfaces and help. Added auto-compile script. |
||
| 1.0.0.0 | more info |
