Problem 1779. Oh Zero Zero Zero!!!
Solution Stats
Problem Comments
-
1 Comment
Elmar Zander
on 29 Mar 2017
It's "their starting position" not "there starting position"...
Solution Comments
-
1 Comment
Nico Pruem
on 1 Jun 2022
Spast, du kannst gar nix, meine Oma hätte das besser gelöst als du!
-
2 Comments
Mayank Bajpai
on 10 Oct 2020
Great!
keqin zhao
on 16 Oct 2020
Great!
-
1 Comment
bainhome
on 22 Aug 2018
no fancy function, no eccentric useage, and problem was swiftly solved. Excellent code!
-
5 Comments
Show
2 older comments
J.R.! Menzinger
on 13 Aug 2013
GREAT!!! :-)
Chris E.
on 13 Aug 2013
Would of never guessed it!
Paul Berglund
on 19 Aug 2013
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).
Xiaoyi Chin
on 4 Oct 2017
wonderful solution
bainhome
on 23 Aug 2018
it never gets tired to watch this kinda code.
Problem Recent Solvers266
Suggested Problems
-
Select every other element of a vector
25821 Solvers
-
6452 Solvers
-
970 Solvers
-
Back to basics 11 - Max Integer
730 Solvers
-
Calculate Amount of Cake Frosting
15795 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!