NUMUNIQUE

Returns unique elements in an array and all the indices for the repetitious values.

Download
Download

You are now following this Submission

Cite As

Zhigang Xu (2026). NUMUNIQUE (https://in.mathworks.com/matlabcentral/fileexchange/25209-numunique), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Operators and Elementary Operations in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.6.0

Suggestions from Matt Fig and Bruno Luong, and the case of unique values only are implemented. A third optional output is implemented in case one also needs the representative indices, which are chosen as those for the first occurrences.

Download
1.5.0

Suggestions from Matt Fig and Bruno Luong are implemented. A third optional output is implemented in case one also needs the representative indices, which are chosen as those for the first occurrences.

Download
1.4.0

Correction also for the same typos but appeared in the General Information about the file.

Download
1.2.0

Correction for the two minor typos in the help text.

Download
1.1.0

There was a bug and now it has been fixed.

Download
1.0.0

Download