I have a vector A = [1 3 5 4 2]. I have a vector of the form B = [2 4 5]. How do I check if all the values in vector B are in vector A?
MATLAB: I have a vector A = [1 3 5 4 2]. I have a vector of the form B = [2 4 5]. How to check if all the values in vector B are in vector A
a vector contain another vector valuesismember
Best Answer