Hi all. I'm new in matlab and i want to do smth like that:
Having two matrixes(vectors is better), like
A=[1;2;6;3;5;8]
B=[4;6;9;7;4;5]
I want to compare all elements of A to B, and if an element of A is same with one of B (not in same position necessarilly) to be written in another vector...
Hi all. I'm new in matlab and i want to do smth like that:
Having two matrixes(vectors is better), like
A=[1;2;6;3;5;8]
B=[4;6;9;7;4;5]
I want to compare all elements of A to B, and if an element of A is same with one of B (not in same position necessarilly) to be written in another vector...