Cody

Solution 1032970

Submitted on 26 Oct 2016 by Asad (Mehrzad) Khoddam
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
x = [1 2 4 6 4]; y_correct = true; assert(isequal(your_fcn_name(x),y_correct))

y = logical 1

2   Pass
x = [1 8 3 2 4]; y_correct = true; assert(isequal(your_fcn_name(x),y_correct))

y = logical 1

3   Pass
x = [7 100003 4000002 6.020 4.1]; y_correct = false; assert(isequal(your_fcn_name(x),y_correct))

y = logical 0

4   Pass
x = [1 21 45 16 4]; y_correct = false; assert(isequal(your_fcn_name(x),y_correct))

y = logical 0