This solution is outdated. To rescore this solution, sign in.
-
1 Comment
Mark
on 1 Jun 2012
Note 1) this solution does not use sort() anywhere :) 2) the more elegant "stable" is not available for unique in pre-2012 MATLAB.
Suggested Problems
-
Return a list sorted by number of occurrences
2834 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
618 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
847 Solvers
-
4850 Solvers
-
377 Solvers
More from this Author30
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!