Problem 94. Target sorting
Solution Stats
Problem Comments
-
5 Comments
a nice practice.
I don't why this easy problem come at last.
Good one.
Solution Comments
-
1 Comment
well.........simulator is not working.better to think about it
-
3 Comments
This is well above the average size. I must be missing something that would make this much simpler.
consider using the 'sort' function !!
I find [b,I]=sort(A) is really a useful method!
-
2 Comments
What?? Strange method to get lowest size.
Should dynamic regular expressions be disabled ? This could be done on about thing !!
-
1 Comment
Brilliant use of complex numbers to force sort(x) to operate on abs(x)
-
2 Comments
sortrowsc? Strange I can run this function in R2012b, but I cannot find it in help.
It is a MEX file function called by sortrows. Check it out in the sortrows source code.
-
1 Comment
You do not need to use the real function
Problem Recent Solvers3849
Suggested Problems
-
9534 Solvers
-
How long is the longest prime diagonal?
367 Solvers
-
304 Solvers
-
Flip the vector from right to left
5185 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
568 Solvers
More from this Author95
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!