Unique Rows for a cell array
Version 1.1.0.0 (2,98 KB) von
Jim Hokanson
Find unique rows of a cell array containing columns with strings or scalars, or N-D matrices
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.
Zitieren als
Jim Hokanson (2026). Unique Rows for a cell array (https://de.mathworks.com/matlabcentral/fileexchange/25917-unique-rows-for-a-cell-array), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2009b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Mehr zu Operators and Elementary Operations finden Sie in Help Center und MATLAB Answers
Tags
Quellenangaben
Inspiriert: uniqueCells
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 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 |
