This solution is outdated. To rescore this solution,sign in.
-
2 Comments
Every time again, it's pretty amazing, to see what powerfull little functions are implemented in Matlab!
You can do this with one function call. See the mode flag in sort().
Suggested Problems
Return the first and last characters of a character array
5978 Solvers
474 Solvers
432 Solvers
Matlab Basics - Convert a row vector to a column vector
507 Solvers
Find my daddy long leg (No 's')
1362 Solvers
More from this Author1
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!