Call it as Vq = interp2gpu(V, Xq, Yq, "spline"). For an explanation of inputs, see https://mathworks.com/help/matlab/ref/interp2.html from Mathworks. An example of ...