Cody

Solution 1234030

Submitted on 19 Jul 2017
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 = [3 1 2 4 6 6 7; 7 3 2 1 5 2 4]; y_correct = 1; assert(isequal(your_fcn_name(x),y_correct))

Error in solution Line: 2 Column: 7 Expression or statement is incorrect--possibly unbalanced (, {, or [.

2   Fail
x = [3 1 2 4 6 6 7; 7 3 6 1 5 2 4]; y_correct = 0; assert(isequal(your_fcn_name(x),y_correct))

Error in solution Line: 2 Column: 7 Expression or statement is incorrect--possibly unbalanced (, {, or [.

Suggested Problems

More from this Author3