I don't find builtin function to detect duplicates.
So, I wrote this function.
It determines which elements of an array or cell are duplicates of elements, and returns a logical vector indicating which elements (rows) are duplicates.
wen-feng Huang (2021). duplicated (https://www.mathworks.com/matlabcentral/fileexchange/81708-duplicated), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!