Unique Rows for a cell array
by Jim Hokanson
22 Nov 2009
(Updated 29 Nov 2009)
Find unique rows of a cell array containing columns with strings or scalars, or N-D matrices
|
Watch this File
|
| File Information |
| Description |
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. |
| MATLAB release |
MATLAB 7.9 (2009b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 29 Nov 2009 |
Increased speed. Put in support for matrices. Put in options for the usual additional outputs for a "unique" function in Matlab. |
|
Contact us at files@mathworks.com