FUNCTION REFERENCE
griddatan
Interpolate scattered data given as rows of points.
Interpolate scattered data given as rows of points.
Syntax
yi = griddatan(X, y, XI)Syntax
yi = griddatan(X, y, XI, method)method is 'linear' (default) or 'nearest'. Linear interpolation outside the convex hull gives NaN.
Example
griddatan([0 0; 1 0; 0 1], [1; 2; 3], [0.2 0.2]) % 1.6000Differences from MATLAB: Two-column (two-dimensional) points only.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.