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



Re: find all numbers in a vector
Posted:
Dec 3, 2012 10:24 PM


"Roger Stafford" wrote in message <k9jovs$jnl$1@newscl01ah.mathworks.com>... > You shouldn't give up so quickly, Petra. The answer you gave was correct  for the positions in 'a'.        Oops! I was hasty in reading your answer. As Nassar indicates, the 8 is incorrect. However, it is convenient to use 'ismember' if you want to find both the like numbers and their position.
Roger Stafford



