I'm not sure what you intend with step 4, but yes, other than that you have the correct approach. The built-in spline functions can handle a square matrix. For a rectangular matrix, first interpolate one way (e.g. columns), then the other.
↧
I'm not sure what you intend with step 4, but yes, other than that you have the correct approach. The built-in spline functions can handle a square matrix. For a rectangular matrix, first interpolate one way (e.g. columns), then the other.