txt1=[{'a'},{'b'},{'c'}];txt1=txt1(:);data=[{'a'},{'b'}];data=data(:);[row,col] = find(txt1==data)
%it gives
Undefined function 'eq' for input arguments of type 'cell'. error.
cell arraysfind
txt1=[{'a'},{'b'},{'c'}];txt1=txt1(:);data=[{'a'},{'b'}];data=data(:);[row,col] = find(txt1==data)
Best Answer