Cody

# Problem 42618. Is this function available?

Solution 2144027

Submitted on 28 Feb 2020 by Nikolaos Nikolaou
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   Pass
assert(isequal(isavailable('sum'),true))

s = 0 s = 1 tf = logical 1

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

s = 2 tf = logical 1

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

s = 3 tf = logical 1

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

s = 4 tf = logical 0

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

s = 5 tf = logical 1

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

s = 6 tf = logical 1

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

s = 7 tf = logical 1 tf = 0

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

s = 8 tf = logical 1

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

s = 9 tf = logical 0

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

s = 10 tf = logical 1 tf = 0

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

s = 11 tf = logical 1

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

s = 12 tf = logical 1

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

s = 13 tf = logical 1

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

s = 14 tf = logical 0

15   Pass

s = 15 tf = logical 1

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

s = 16 tf = logical 1

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

s = 17 tf = logical 0

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

s = 18 tf = logical 1

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

s = 19 tf = logical 1

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

s = 20 tf = logical 1 tf = 0

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

s = 21 tf = logical 1

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

s = 22 tf = logical 1

23   Pass

s = 23 tf = logical 1

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

s = 24 tf = logical 0

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

s = 25 tf = logical 1