how to find matching elements of two colums vectors
조회 수: 18 (최근 30일)
M 2019년 6월 12일
편집: M 님. 2019년 6월 12일
It depends what you want exactly.
Let's say you have two vectors a and b:
To find the indices where a equals to b, you can simply compute:
a == b
4×1 logical array
To get the values and the indices where a equals to b, you can also have a look at the find function.