surfi
by Ben Mitch
02 Nov 2004
(Updated 30 Aug 2010)
Plot (or return) surface interpolated from supplied vertices.
|
Watch this File
|
| File Information |
| Description |
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". |
| MATLAB release |
MATLAB 7.7 (R2008b)
|
| Other requirements |
You must compile triangulate before using surfi - try "triangulate compile". |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (1) |
| 23 Nov 2004 |
gok gok
|
|
|
| Updates |
| 29 Nov 2004 |
more info |
| 30 Aug 2010 |
Added missing file, and tidied interfaces and help. Added auto-compile script. |
|
Contact us at files@mathworks.com