duplicated

Version 1.0.0 (1.59 KB) by wfH
identifies duplicated elements and counts each occurrences.
12 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 (2024). duplicated (https://www.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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0