Help! How to find mutual numbers in 2 different vectors and replace them with the start and end not in common?
Show older comments
I have this situation 2016 2059 43 2362 2450 88 2450 2474 25 2474 2684 36 3301 3332 31
I would like to find the mutual numbers in the 2 column, replace them and add the number in the column number 3. here is the output that i would like to get
2016 2059 43 2362 2684 149 3301 3332 31
2 Comments
Roger Wohlwend
on 5 Jun 2014
I don't understand. Where are your two vectors? You just give us a list of numbers. The question in the title is not understandable. Could you please tell us more clearly what you want to do?
davide
on 6 Jun 2014
Accepted Answer
More Answers (0)
Categories
Find more on Entering Commands in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
