Cody

Solution 1040400

Submitted on 31 Oct 2016 by Jakub Rysanek
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
A = 1;row =1; y_correct = 1; assert(isequal(your_fcn_name(A,row),y_correct));

2   Pass
A = [1;2;3;4];row = 1 y_correct = 1; assert(isequal(your_fcn_name(A,row),y_correct));

row = 1

3   Pass
A = [1;2;3;4];row = 4 y_correct = 1; assert(isequal(your_fcn_name(A,row),y_correct));

row = 4

4   Pass
A = [1;2;3;4];row = 2 y_correct = 1; assert(isequal(your_fcn_name(A,row),y_correct));

row = 2

5   Pass
A = [1;2;3;4;5];row = 2 y_correct = 0; assert(isequal(your_fcn_name(A,row),y_correct));

row = 2