unique_stable.m

Get unique unordered values of a vector

You are now following this Submission

Since MATLAB2012 you can use function unique with the 'stable' option.
With earlier versions you're struggling along alone, or use this small tool ;-)

Cite As

Andreas Martin (2026). unique_stable.m (https://in.mathworks.com/matlabcentral/fileexchange/46903-unique_stable-m), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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