Hi, I have a matrix A = [1 2 3 ; 4 2 3] I would like to know the i and j index of the duplicate values in this matrix. How could I do ? The output should be something like {2 ; [1 2]; [2 2]} {3 ; [1 3]; [2 3]} Thanks for your help, Guilhem
MATLAB: How to find index of duplicate values in a matrix
duplicateindexmatrix
Best Answer