I am working on creating a program for simulations where three variables are parametrized, and we modify one parameter while keeping the other two constant. An example array looks like this when outputted by MatLab:
dim3arr(:,:,1) =
0.8000 0.9000 1.0000 1.1000 1.2000
0 0 0 0 0
0.5000 0.5000 0.5000 0.5000 0.5000
dim3arr(:,:,2) =
0.8000 0.8000 0.8000 0.8000 0.8000
0 10.0000 20.0000 35.0000 60.0000
0.5000 0.5000 0.5000 0.5000 0.5000
dim3arr(:,:,3) =
0.8000 0.8000 0.8000 0.8000 0.8000
0 0 0 0 0
0.5000 0.6000 0.8000 1.1000 1.5000
I am trying to figure out how to interpolate between points in the array. MatLab's documentation for interpolating on N-dimensional arrays seems to assume that the data is monotonically increasing. How would I get MatLab to interpolate the data?
interp3
$\endgroup$ – nicoguaro♦ Feb 13 '15 at 23:38