duplicated

Version 1.0.0 (1.59 KB) by wfH
identifies duplicated elements and counts each occurrences.
15 Downloads
Updated 24 Oct 2020

View License

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.

Cite As

wfH (2026). duplicated (https://uk.mathworks.com/matlabcentral/fileexchange/81708-duplicated), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0