Problem 44083. First use of arrayfun() and anonymous function @(x)
Solution Stats
Problem Comments
-
1 Comment
Pascal Wenger, I recommend that you employ "assessFunctionAbsence" — see
https://au.mathworks.com/help/coursework/ug/assessfunctionabsence.html — in your Test Suite to more robustly deal with tricks to sidestep intended solution.
Solution Comments
-
1 Comment
Nice trick to sidestep intended solution!
Problem Recent Solvers35
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1195 Solvers
-
801 Solvers
-
437 Solvers
-
310 Solvers
-
Flip the vector from right to left
4890 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!