I have two matrices in Matlab:
q = [3 4 5];
w = [5 6 7];
I want to compare each element qwith w(i.e. 3 compared to 5, 6 and 7). If it matches any element in w(for example, how 5 is in qand w), then how qand wshare 5 as a shared key.
How can I calculate all the common keys for qand w?
source
share