findduplicate(X)

Versión 1.0.0.0 (456 Bytes) por Liutong
find duplicate rows in a table, timetable or array.
37 descargas
Actualizado 13 abr 2017

Ver licencia

ind=findduplicate(X) returns a linear index ind for duplicate records in X.
findduplicate treat each row in X as a record.
input:
-X: vector, array, table or timetable.
output:
-ind: linear index for duplicated records in X
tip: to find duplicate values in a matrix, use findduplicate(X(:))

Example:
findduplicate(string(
{'John','Waston';...
'Anna','Blei';...
'John','Waston'}
))
returns 3

Citar como

Liutong (2024). findduplicate(X) (https://www.mathworks.com/matlabcentral/fileexchange/62539-findduplicate-x), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2016b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Tables en Help Center y MATLAB Answers.
Etiquetas Añadir etiquetas

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0