I'm trying to get used to doing things in vectors rather than looping. The question I have is I have two vectors. Vector 2 is a 64x2 cell first column contains strings the second contains numbers. I want to match Vector 1 & 2 on the string value and copy the numeric value over into a new field in Vector 1 if possible?
Vector 1 Vector 2
GHJ ABC 352
LMN GHJ 62
OPQ LMN 3698
OPQ 12
I would then like Vector 1 to look like below,
Vector 1
GHJ 62
LMN 3698
OPQ 12
Actually I guess for this problem could also be solved by deleting the row ABC from vector 2.