28.12.2012 Views

Figure Properties - SERC

Figure Properties - SERC

Figure Properties - SERC

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

griddata3<br />

2griddata3<br />

Purpose Data gridding and hypersurface fitting for 3-D data<br />

Syntax w = griddata3(x,y,z,v,xi,yi,zi)<br />

w = griddata3(x,y,z,v,xi,yi,zi,method)<br />

w = griddata3(x,y,z,v,xi,yi,zi,method,options)<br />

Description w = griddata3(x, y, z, v, xi, yi, zi) fits a hypersurface of the form<br />

w =<br />

f( x, y, z)<br />

to the data in the (usually) nonuniformly spaced vectors (x, y, z,<br />

v). griddata3 interpolates this hypersurface at the points specified by<br />

(xi,yi,zi) to produce w. w is the same size as xi, yi, and zi.<br />

2-996<br />

(xi,yi,zi) is usually a uniform grid (as produced by meshgrid) and is where<br />

griddata3 gets its name.<br />

w = griddata3(x,y,z,v,xi,yi,zi,method) defines the type of surface that is<br />

fit to the data, where method is either:<br />

'linear' Tesselation-based linear interpolation (default)<br />

'nearest' Nearest neighbor interpolation<br />

If method is [], the default 'linear' method is used.<br />

w = griddata3(x,y,z,v,xi,yi,zi,method,options) specifies a cell array of<br />

strings options to be used in Qhull via delaunayn.<br />

If options is [], the default options are used. If options is {''}, no options are<br />

used, not even the default.<br />

Algorithm The griddata3 methods are based on a Delaunay triangulation of the data that<br />

uses Qhull [2]. For information about Qhull, see http://www.qhull.org/. For<br />

copyright information, see http://www.qhull.org/COPYING.html.<br />

See Also delaunayn, griddata, griddatan, meshgrid<br />

Reference [1] Barber, C. B., D.P. Dobkin, and H.T. Huhdanpaa, "The Quickhull Algorithm for<br />

Convex Hulls," ACM Transactions on Mathematical Software, Vol. 22, No. 4,<br />

Dec. 1996, p. 469-483. Available in HTML format at<br />

http://www.acm.org/pubs/citations/journals/toms/1996-22-4/p469-barber/<br />

and in PostScript format at ftp://geom.umn.edu/pub/software/qhull-96.ps.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!