unique_no_sort

Like unique.m but without sorting

您现在正在关注此提交

Returns the unique elements of a vector, matrix or cell array in the order that they first appear in the input. Does not operate on rows like the original unique.m.

引用格式

Caitlin (2026). unique_no_sort (https://ww2.mathworks.cn/matlabcentral/fileexchange/15209-unique_no_sort), MATLAB Central File Exchange. 检索时间: .

致谢

启发作品: concatStruct

类别

Help CenterMATLAB Answers 中查找有关 Shifting and Sorting Matrices 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0

I vectorized the calculation of 'pos' which results in a significant speed up for large matrices.