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
-
Which values occur exactly three times?
5159 Solvers
-
10508 Solvers
-
Solve the set of simultaneous linear equations
439 Solvers
-
493 Solvers
-
862 Solvers
More from this Author30
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!