Unique Rows for a cell array

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.

引用格式

Jim Hokanson (2026). Unique Rows for a cell array (https://ww2.mathworks.cn/matlabcentral/fileexchange/25917-unique-rows-for-a-cell-array), MATLAB Central File Exchange. 检索时间: .

致谢

启发作品: uniqueCells

类别

Help CenterMATLAB Answers 中查找有关 Operators and Elementary Operations 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
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