07-17-2012 09:13 AM
@Rufnek wrote:
xi, yi, and zi (coordinates points) are vectors. I prefer manipulate 3d arrays so, the function accept coordinates in 3d arrays. This arrays are converted into vectors and then your code is used. That's nothing.
I still don't understand how you are converting a 3D array into vectors. Can you show some code?
Could it be that you are talking about 3xN or Nx3 2D arrays? That would make more sense in this context.
07-25-2012 01:34 AM
My datas are saved in a 3d array and stay as a 3d array.
Original coordinates are saved in 3 vectors (x, y, z). The interpolated coordinates are saved in 3 3d arrays. I reshape this 3 3d arrays in order to calculates fractional indexes and then, I interpolate using your code.
I send you a capture, is it more clear ?
Maybe I'm doing something wrong or useless...