Date: Mar 19, 2013 9:41 AM
Author: dpb
Subject: Re: interpft for 3D array

On 3/19/2013 6:25 AM, Jonathan W Smith wrote:
> Hello:
> I have the following array:
> testing1 = fix(10*rand(165,332,27));
> I use interpft to change the first and 2nd dimensions of this array
> new1 =interpft(testing1,164);
> new2 = interpft(new1,283,2);
>
> When use the following command to interpolate the 3rd dimension:
>
> new3 = interpft(new2,27,3)
>
> But the size of new3 is the following:
>
> 46412 1 7
>
> How do I interpolate the 3rd dimension of the array without the
> dimension size of the first 2 dimensions multiplying themselves by each
> other. Thanks


In a quick check here, it appears if you

reshape(new3,164,283,3)

the resulting storage order is consistent w/ the previous.

--