Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
同じ長さの 2 つのベクトルを比較する方法 - 異なる要素 (両方のベクトルで同じ位置にある) の数を取得したい。
Example: x=[1 0 0 1 1] y=[1 0 1 1 0] result should be 2 since 3rd and 5th element of both vectors differ