unique_stable.m

Get unique unordered values of a vector
155 Downloads
Updated Tue, 10 Jun 2014 20:50:41 +0000

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 (2024). unique_stable.m (https://www.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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0