unique_stable.m

Get unique unordered values of a vector
156 Downloads
Updated 10 Jun 2014

View License

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://uk.mathworks.com/matlabcentral/fileexchange/46903-unique_stable-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Characters and Strings in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0