This solution is outdated. To rescore this solution, sign in.
-
2 Comments
Evan
on 22 Jul 2013
A separate test case that tests for functions that are against the rules would improve this problem. In this case, the "for" in "UniformOutput" was getting caught by the search. A separate test case would have made clear that the solution functions properly but contains an outlawed string.
Dyuman Joshi
on 26 Apr 2021
'Uniformoutput' is now valid, while as for OP's rules for loop is still not allowed.
Suggested Problems
-
19289 Solvers
-
1628 Solvers
-
295 Solvers
-
Set the array elements whose value is 13 to 0
1377 Solvers
-
743 Solvers
More from this Author3
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!