Unique Rows for a cell array

Find unique rows of a cell array containing columns with strings or scalars, or N-D matrices
4,5K descargas
Actualizado 29 nov 2009

Ver licencia

unique(cA,'rows') does not work for cell arrays, the rows entry is ignored (at least as of 2009b). This function handles this case. It works for strings or scalars or both, but each column must contain only one or the other.

Citar como

Jim Hokanson (2024). Unique Rows for a cell array (https://www.mathworks.com/matlabcentral/fileexchange/25917-unique-rows-for-a-cell-array), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2009b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Operators and Elementary Operations en Help Center y MATLAB Answers.
Agradecimientos

Inspiración para: uniqueCells

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.1.0.0

Increased speed. Put in support for matrices. Put in options for the usual additional outputs for a "unique" function in Matlab.

1.0.0.0