I have two columns in two separate tables:
T1 - Col A T2 - Col A
1 1
2 4
3 ` 5
4
5
I am looking to create in table 1 a column B containing zeros for those matching values between T1-colA and T2-colA.
The result will look like
T1 - Col A T1 - Col B
1 0
2
3 `
4 0
5 0
How could I accomplish this efficiently?
1 Comment
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/267155-comparing-columns-and-returning-0s-for-matching-values#comment_341252
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/267155-comparing-columns-and-returning-0s-for-matching-values#comment_341252
Sign in to comment.