To interpolate a vector z
in dependence of two other vectors x
and y
to a vector dependent of one vector q
and a fixed value v
in MATLAB, you can use the interp2
function.
main.m488 chars18 lines
In this example, z_interpolated
will have the value 3.4375
.
gistlibby LogSnag