griddata3
- :
vq =griddata3(x, y, z, v, xq, yq, zq)¶ - :
vq =griddata3(…, method)¶ - :
vq =griddata3(…, method, options)¶ Interpolate scattered data in three dimensions.
The vectors x, y, z and v give the sites and their values. method is
"linear"(default) or"nearest"; options is passed to the triangulation used by the linear method.The shape of vq follows the query arguments:
- If xq, yq and zq are matrices (or N-d arrays) of one common size, vq has that size.
- Otherwise, if they are vectors with the same number of elements, they are scattered points and vq is a column.
- Otherwise they span a grid and vq has size
[numel(yq), numel(xq), numel(zq)], withvq(i,j,l)belonging to(xq(j), yq(i), zq(l)).