Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



interpolation of 3 and 4 dimensional arrays
Posted:
Apr 8, 2013 7:25 AM


Hello:
I have four 4dimensional arrays. In each of the arrays, there is are x and y dimensions in the horizontal. The 3rd dimension for each array is the vertical. The 4th is time. The size of these dimensions are all the same: 41, 71, 8, 720.
The first array is ozone that varies with that varies horizontally and vertically with pressure. The 2nd array is a pressure array corresponding with the ozone. It shows what the pressure is in horizontally and vertically. The 3rd array is an ozone array that is a different set of ozone data that varies horizontally and vertically. The 4th array is the corresponding pressure array.
o3_a(:,:,:,:) p_a(:,:,:,:) o3_b(:,:,:,:) p_b(:,:,:,:)
The question is: How can I find out how o3_a corresponds with the pressure levels in p_b? Do I need to interpolate? How do interpolate arrays like these?
Thanks Jonathan



