Problem 44083. First use of arrayfun() and anonymous function @(x)
Solution Stats
Problem Comments
-
1 Comment
David Verrelli
on 23 Jun 2018
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
Informaton
on 20 Aug 2017
Nice trick to sidestep intended solution!
Problem Recent Solvers35
Suggested Problems
-
Get the area codes from a list of phone numbers
780 Solvers
-
Program an exclusive OR operation with logical operators
665 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
317 Solvers
-
Create an index-powered vector
482 Solvers
-
Check that number is whole number
2287 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!