My code is the one below, it is not doing the comparison:
for r=1:6 for c=1:2 if((A(r,1)==B(c,1))) x(r,1)="equal"; end end end
cell array element comparison
for r=1:6 for c=1:2 if((A(r,1)==B(c,1))) x(r,1)="equal"; end end end
Best Answer