Cody

Problem 42618. Is this function available?

Solution 2888807

Submitted on 29 Aug 2020
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
assert(isequal(isavailable('sum'),true))

Error using assessFunctionPresence Too many output arguments. Error in isavailable (line 2) tf = assessFunctionPresence(f); Error in Test1 (line 1) assert(isequal(isavailable('sum'),true))

2   Fail
assert(isequal(isavailable('mean'),true))

Error using assessFunctionPresence Too many output arguments. Error in isavailable (line 2) tf = assessFunctionPresence(f); Error in Test2 (line 1) assert(isequal(isavailable('mean'),true))

3   Fail
assert(isequal(isavailable('bsxfun'),true))

Error using assessFunctionPresence Too many output arguments. Error in isavailable (line 2) tf = assessFunctionPresence(f); Error in Test3 (line 1) assert(isequal(isavailable('bsxfun'),true))

4   Fail
assert(isequal(isavailable('pdist'),false))

Error using assessFunctionPresence Too many output arguments. Error in isavailable (line 2) tf = assessFunctionPresence(f); Error in Test4 (line 1) assert(isequal(isavailable('pdist'),false))

5   Fail
assert(isequal(isavailable('hankel'),true))

Error using assessFunctionPresence Too many output arguments. Error in isavailable (line 2) tf = assessFunctionPresence(f); Error in Test5 (line 1) assert(isequal(isavailable('hankel'),true))

6   Fail
assert(isequal(isavailable('std'),true))

Error using assessFunctionPresence Too many output arguments. Error in isavailable (line 2) tf = assessFunctionPresence(f); Error in Test6 (line 1) assert(isequal(isavailable('std'),true))

7   Fail
assert(isequal(isavailable('evalin'),false))

Error using assessFunctionPresence Too many output arguments. Error in isavailable (line 2) tf = assessFunctionPresence(f); Error in Test7 (line 1) assert(isequal(isavailable('evalin'),false))

8   Fail
assert(isequal(isavailable('toeplitz'),true))

Error using assessFunctionPresence Too many output arguments. Error in isavailable (line 2) tf = assessFunctionPresence(f); Error in Test8 (line 1) assert(isequal(isavailable('toeplitz'),true))

9   Fail
assert(isequal(isavailable('pdist2'),false))

Error using assessFunctionPresence Too many output arguments. Error in isavailable (line 2) tf = assessFunctionPresence(f); Error in Test9 (line 1) assert(isequal(isavailable('pdist2'),false))

10   Fail
assert(isequal(isavailable('assignin'),false))

Error using assessFunctionPresence Too many output arguments. Error in isavailable (line 2) tf = assessFunctionPresence(f); Error in Test10 (line 1) assert(isequal(isavailable('assignin'),false))

11   Fail
assert(isequal(isavailable('cell2mat'),true))

Error using assessFunctionPresence Too many output arguments. Error in isavailable (line 2) tf = assessFunctionPresence(f); Error in Test11 (line 1) assert(isequal(isavailable('cell2mat'),true))

12   Fail
assert(isequal(isavailable('arrayfun'),true))

Error using assessFunctionPresence Too many output arguments. Error in isavailable (line 2) tf = assessFunctionPresence(f); Error in Test12 (line 1) assert(isequal(isavailable('arrayfun'),true))

13   Fail
assert(isequal(isavailable('cellstr'),true))

Error using assessFunctionPresence Too many output arguments. Error in isavailable (line 2) tf = assessFunctionPresence(f); Error in Test13 (line 1) assert(isequal(isavailable('cellstr'),true))

14   Fail
assert(isequal(isavailable('imfindcircles'),false))

Error using assessFunctionPresence Too many output arguments. Error in isavailable (line 2) tf = assessFunctionPresence(f); Error in Test14 (line 1) assert(isequal(isavailable('imfindcircles'),false))

15   Fail

Error using assessFunctionPresence Too many output arguments. Error in isavailable (line 2) tf = assessFunctionPresence(f); Error in Test15 (line 1) assert(isequal(isavailable('imread'),true))

16   Fail
assert(isequal(isavailable('plot'),true))

Error using assessFunctionPresence Too many output arguments. Error in isavailable (line 2) tf = assessFunctionPresence(f); Error in Test16 (line 1) assert(isequal(isavailable('plot'),true))

17   Fail
assert(isequal(isavailable('ocr'),false))

Error using assessFunctionPresence Too many output arguments. Error in isavailable (line 2) tf = assessFunctionPresence(f); Error in Test17 (line 1) assert(isequal(isavailable('ocr'),false))

18   Fail
assert(isequal(isavailable('cellfun'),true))

Error using assessFunctionPresence Too many output arguments. Error in isavailable (line 2) tf = assessFunctionPresence(f); Error in Test18 (line 1) assert(isequal(isavailable('cellfun'),true))

19   Fail
assert(isequal(isavailable('dec2bin'),true))

Error using assessFunctionPresence Too many output arguments. Error in isavailable (line 2) tf = assessFunctionPresence(f); Error in Test19 (line 1) assert(isequal(isavailable('dec2bin'),true))

20   Fail
assert(isequal(isavailable('eval'),false))

Error using assessFunctionPresence Too many output arguments. Error in isavailable (line 2) tf = assessFunctionPresence(f); Error in Test20 (line 1) assert(isequal(isavailable('eval'),false))

21   Fail
assert(isequal(isavailable('randi'),true))

Error using assessFunctionPresence Too many output arguments. Error in isavailable (line 2) tf = assessFunctionPresence(f); Error in Test21 (line 1) assert(isequal(isavailable('randi'),true))

22   Fail
assert(isequal(isavailable('rng'),true))

Error using assessFunctionPresence Too many output arguments. Error in isavailable (line 2) tf = assessFunctionPresence(f); Error in Test22 (line 1) assert(isequal(isavailable('rng'),true))

23   Fail

Error using assessFunctionPresence Too many output arguments. Error in isavailable (line 2) tf = assessFunctionPresence(f); Error in Test23 (line 1) assert(isequal(isavailable('fread'),true))

24   Fail
assert(isequal(isavailable('houghlines'),false))

Error using assessFunctionPresence Too many output arguments. Error in isavailable (line 2) tf = assessFunctionPresence(f); Error in Test24 (line 1) assert(isequal(isavailable('houghlines'),false))

25   Fail
assert(isequal(isavailable('kron'),true))

Error using assessFunctionPresence Too many output arguments. Error in isavailable (line 2) tf = assessFunctionPresence(f); Error in Test25 (line 1) assert(isequal(isavailable('kron'),true))

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!