I have two matrices A and B in the attached xls file and run
[~,loc3] = ismembertol(A(:,2),B(:,1),0.01);
and the outcome loc3 also in the xls file. This is not right since loc3 taking values other than 0 and 1. Please advise.
ismemberMATLAB
[~,loc3] = ismembertol(A(:,2),B(:,1),0.01);
Best Answer