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
-
Given two arrays, find the maximum overlap
1586 Solvers
-
Return unique values without sorting
935 Solvers
-
253 Solvers
-
743 Solvers
-
Output any real number that is neither positive nor negative
399 Solvers
More from this Author3
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!