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: finding interpolated elements between 2 arrays
Replies: 6   Last Post: Mar 20, 2013 9:40 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,232
Registered: 6/7/07
Re: finding interpolated elements between 2 arrays
Posted: Mar 20, 2013 9:40 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 3/20/2013 8:00 AM, Bruno Luong wrote:
>
>>
>> This is helpful. Thanks. Would one be able to do this for the 3rd
>> dimension across the entire array at once:
>> C = sort([A B], 3, 'descend') ?

>
> sort(cat(3,A,B),2,'descend')
> % Bruno


IIUC the request correctly would be

sort(cat(3,A,B),3,'descend')

to sort by plane.

--




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.