Problem 1779. Oh Zero Zero Zero!!!
Solution Stats
Problem Comments
-
1 Comment
It's "their starting position" not "there starting position"...
Solution Comments
-
2 Comments
Great!
Great!
-
1 Comment
no fancy function, no eccentric useage, and problem was swiftly solved. Excellent code!
-
5 Comments
GREAT!!! :-)
Would of never guessed it!
This actually has a minor bug -- it may fail on inputs containing negative numbers, e.g. x=[1 -1], however this is simply fixable by taking abs(x).
wonderful solution
it never gets tired to watch this kinda code.
Problem Recent Solvers244
Suggested Problems
-
given 3 sides, find area of this triangle
730 Solvers
-
Convert a numerical matrix into a cell array of strings
932 Solvers
-
949 Solvers
-
424 Solvers
-
There are 10 types of people in the world
620 Solvers
More from this Author17
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!