duplicated
Version 1.0.0 (1.59 KB) by
wfH
identifies duplicated elements and counts each occurrences.
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 LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
