MATLAB Function Reference |
3 維資料的資料分格化(Data gridding)和超表面符合(hypersurface fitting)
Syntax
w = griddata3(x,y,z,v,xi,yi,zi) w = griddata3(...,'method')
Description
w = griddata3(x, y, z, v, xi, yi, zi)
以 w = f(x,y,z) 的形式使(通常是)不一致空間向量資料 (x
, y
, z
, v
)符合一個超表面(hypersurface)。griddata3
修改以 (xi
,yi
,zi
) 定義點上的超表面(hypersurface)來產生 w
。w
與 xi
, yi
和 zi
相同大小。
(xi
,yi
,zi
)通常是均勻的格子(如同 meshgrid
) 所產生,且也是 griddata3
得到它名字的由來。
w = griddata3(...,'method')
定義欲符合資料的表面種類,其中 'method'
是下列其中之一:
'linear' |
Tesselation-based linear interpolation (預設) |
'nearest' |
Nearest neighbor interpolation |
Note
All the methods are based on a Delaunay triangulation of the data that uses qhull [1]. For information about qhull , see http://www.geom.umn.edu/software/qhull/. For copyright information, see http://www.geom.umn.edu/software/download/COPYING.html.
|
See Also
delaunayn
, griddata
, griddatan
, meshgrid
Reference
[1] National Science and Technology Research Center for Computation and Visualization of Geometric Structures (The Geometry Center), University of Minnesota. 1993.
griddata | griddatan |