Cody

Solution 1982157

Submitted on 19 Oct 2019 at 0:39
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
x = 1; y_correct = false; assert(isequal(your_fcn_name(x),y_correct))

y = 0.3333 z = logical 0 ans = logical 1 false

Assertion failed.

2   Pass
x = 3; y_correct = true; assert(isequal(your_fcn_name(x),y_correct))

y = 1 z = logical 0 ans = logical 1 false