Interpolate scattered data
Note:
Qhullspecific options are no longer supported. Remove the In a future release, the following syntaxes will be removed: [Xq,Yq,Vq] = griddata(x,y,v,xq,yq)
[Xq,Yq,Vq] = griddata(x,y,v,xq,yq, griddata will not accept any input
vectors of mixed orientation in a future release. To specify a grid
of query points, construct a full grid with ndgrid or meshgrid before
calling griddata . 
vq = griddata(x,y,v,xq,yq)
vq = griddata(x,y,z,v,xq,yq,zq)
vq = griddata(___,method)
fits
a surface of the form v = f(x,y) to the scattered data in the vectors vq
= griddata(x
,y
,v
,xq
,yq
)(x,y,v)
. The griddata
function interpolates
the surface at the query points specified by (xq,yq)
and returns the interpolated values, vq
.
The surface always passes through the data points defined by x
and y
.
fits
a hypersurface of the form v = f(x,y,z).vq
= griddata(x
,y
,z
,v
,xq
,yq
,zq
)
uses
a specified interpolation method to compute vq
= griddata(___,method
)vq
using
any of the input arguments in the previous syntaxes.

Vector specifying the x coordinates of the sample points.  

Vector specifying the y coordinates of the sample points.  

Vector specifying the z coordinates of the sample points.  

Vector of sample values that correspond to the sample coordinates  

Vector or array that specifies x coordinates
of the query points to be evaluated.  

Vector or array that specifies y coordinates
of the query points to be evaluated.  

Vector or array that specifies z coordinates
of the query points to be evaluated.  

Keyword that specifies the interpolation method. Use one of the following:


The interpolated values at the query points.
