Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



Re: help plsss!
Posted:
Jan 27, 2013 7:02 AM


"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



