(translator=Young, ChineseSource=Young-20020603-5\griddatan.html, EnglishSource=c:\matlabr12\help\techdoc\ref\griddatan.html)
MATLAB Function Reference    
griddatan

資料的資料分格化(Data gridding)和超表面符合(hypersurface fitting)(dimension >= 2)

Syntax

Description

yi = griddatan(X, y, xi) y = f(X) 的形式使(通常是)不一致空間向量資料 (X, y)符合一個超表面(hypersurface)。griddatan 修改以 xi 定義點上的超表面(hypersurface)來產生 yixi 可以是不一致的(nonuniform)。

Xm-by-n,代表 n 度空間中的 m 個點。ym-by-1,代表 m 個超表面(hypersurface) f(X) 的值。xi 是一個大小為 p-by-n 的向量,代表 n 度空間中的 p 個點,是要被符合的表面值。yi 是長度 p 的向量近似於 f(xi) 的值。超表面(hypersurface)總是會經過資料點(X,y)。xi 通常是均勻的格子(如同 meshgrid所產生的)。

[...] = griddatan(...,'method') 定義欲符合資料的表面種類,其中 'method' 是下列其中之一:

'linear'
Tessellation-based linear interpolation (default)
'nearest'
Nearest neighbor interpolation

所有的方法都是以資料的 Delaunay tessellation 為基礎。

See Also

delaunayn, griddata, griddata3, meshgrid

Reference

[1]  National Science and Technology Research Center for Computation and Visualization of Geometric Structures (The Geometry Center), University of Minnesota. 1993.


 griddata3 gsvd