Sometimes it is difficult to remember which functions are not allowed on the Cody platform. Given a function as a string, return true if it is available on Cody and false otherwise.
The test suite will be updated periodically, so hard-coding the answers will eventually fail.
Examples
isavailable('bsxfun') returns true
isavailable('pdist2') returns false
You mix two things: functions not allowed on Cody for safety reasons (evalin, assignin...) and toolbox functions not available (imfindcircles, ocr ...).
I am curious to know how you can make the difference. :.)
I realize there is a mix. That is part of the reason I created the problem.
Yes, but if you update the test suite with other Cody restricted functions (str2func, evalc) ?
With this mix a player can't submit a permanent solution. It's bothers me.
But maybe I am boring...
Interesting problem anyway.
Point well taken. I will not update the test suite until I verify that a permanent solution exists.
'fwbmjo!bttjhojo!fwbm'-1? Did you think I would read the file and search for strings like 'eval'?
Not you but Cody maybe ...
1055 Solvers
Find state names that start with the letter N
465 Solvers
Back to basics 22 - Rotate a matrix
682 Solvers
Find the largest value in the 3D matrix
897 Solvers
How many monitors are connected ?
108 Solvers