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: help plsss!
Replies: 1   Last Post: Jan 27, 2013 7:02 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Greg Heath

Posts: 5,943
Registered: 12/7/04
Re: help plsss!
Posted: Jan 27, 2013 7:02 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"AUC " <AUC@GMAIL.COM> wrote in message <ke31dk$80t$1@newscl01ah.mathworks.com>...
> How can i get common elements from 2 arrays and delete the rest elements? for example:
>
> A= accel x: 724
> accel y: 17415
> accel z: 48
> accel x: 890
> accel y: 17202
> accel z: 25
>
> B= accel x: 724
> 17415
> accel z: 48
> accel x: 890
> 17202
> accel z: 25
>
> I want to get this :
>
> C=[17415, 17202]


Why does B have the same numbers but a different format?

Are you choosing the elements of C because they are formatted differently in A and B?

Greg



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.