Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Topic: finding interpolated elements between 2 arrays
Replies: 6   Last Post: Mar 20, 2013 9:40 AM

 Search Thread: Advanced Search

 Messages: [ Previous | Next ]
 Jonathan W Smith Posts: 90 Registered: 12/17/10
finding interpolated elements between 2 arrays
Posted: Mar 19, 2013 6:44 PM
 Plain Text Reply

Hello:
Let's say I have 2 arrays, both having totally different elements. The elements in the 3rd dimension decrease exponentially with increasing n so array A has dimensions of 5x5x5 in the 3rd dimension the elements in A(:,:,1) are greater than A(:,:,2) and so on.

And same for array B which has dimensions of 5x5x3

How do I find the interpolated elements of the 3rd dimension of array B in array A? I imagine I would need to use interp3, ba_interp3 or perhaps neither.

Another way to look at it is the following if

A(1,2,:) = [900, 800, 700, 600, 500] and B(1,2,:) = [823, 689, 558] , how do I find the elements given in B in A?

Thanks
Jonathan

Date Subject Author
3/19/13 Jonathan W Smith
3/19/13 dpb
3/19/13 Jonathan W Smith
3/20/13 dpb
3/20/13 Jonathan W Smith
3/20/13 Bruno Luong
3/20/13 dpb

© The Math Forum at NCTM 1994-2017. All Rights Reserved.