Cody

Problem 42618. Is this function available?

Solution 2888828

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   Pass
assert(isequal(isavailable('sum'),true))

tf = logical 1

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

tf = logical 1

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

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

Assertion failed.

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

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

tf = logical 1

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

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

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

Assertion failed.

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

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

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

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

tf = logical 1

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

Assertion failed.

15   Pass
assert(isequal(isavailable('imread'),true))

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

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

Assertion failed.

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

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

tf = logical 1

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

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

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

23   Pass
assert(isequal(isavailable('fread'),true))

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

Assertion failed.

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

Suggested Problems

More from this Author44

Community Treasure Hunt

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

Start Hunting!