add locateat, which is similar to Matlab's ismember