Date: Dec 3, 2012 7:07 PM Author: Petra Subject: find all numbers in a vector Hi all,

I cant find a solution without a loop for this problem:

I got 2 vectors

a=[2 3 14 15 16 17 18 33 34 35]

b=[17 18 35 60 61 62]

and I try to find all numbers and position in a which are in b.

The answer should be: 6 7 8 10

Thanks for help