Nice!
It's a shock that I didn't know such a function existed
Better than all previous non-cheat solutions :-)
You might wanna check it again ;)
The function 'unique' should probably also be prohibited.
Strictly following the problem statement, this should pass?
This also does the trick :)
1845 Solvers
Find the two most distant points
1645 Solvers
356 Solvers
353 Solvers
242 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!