Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: interpft for 3D array
Replies: 1   Last Post: Mar 19, 2013 9:41 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
dpb

Posts: 8,181
Registered: 6/7/07
Re: interpft for 3D array
Posted: Mar 19, 2013 9:41 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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.

--




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.