Problem 44768. Muphry's Law of MATLAB
Solution Stats
Problem Comments
-
3 Comments
Tim
on 11 Nov 2018
Test case x=[11 22 132] will cause some solutions here to fail.
James
on 13 Nov 2018
Great catch! Test case added; and by "some solutions" you mean "All solutions except yours and mine."
li haitao
on 14 Nov 2018
@ Tim
Well done, Tim. I noticed the bug of my solution, but it did work for the old test suit, and I was too lazy to fix the bug.
Solution Comments
Show commentsProblem Recent Solvers37
Suggested Problems
-
1169 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
575 Solvers
-
Golomb's self-describing sequence (based on Euler 341)
145 Solvers
-
4677 Solvers
-
5670 Solvers
More from this Author80
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!