MATLAB: How to find the position in a string array

postion

attributes={'aaaa','bbbb','cccc','dddd' };
str='cccc';
how to find position 3 ?

Best Answer

Read the documentation in ismember()
Related Question