interp3
- :
vi =interp3(x, y, z, v, xi, yi, zi)¶ - :
vi =interp3(v, xi, yi, zi)¶ - :
vi =interp3(v, n)¶ - :
vi =interp3(v)¶ - :
vi =interp3(…, method, extrapval)¶ Three-dimensional interpolation of the array v, stored in meshgrid layout:
v(iy, ix, iz)is the sample at (x(ix), y(iy), z(iz)).x, y and z are vectors or meshgrid grids and default to the index ranges. The query points xi, yi, zi are arrays of equal size, or vectors of mixed orientation that define a grid. method is
"linear"(default),"nearest","cubic","spline"or"pchip". Points outside the data get extrapval (NaN by default; the spline method extrapolates).interp3 (v, n)refines v n times in every direction.