Cody

Solution 1973037

Submitted on 12 Oct 2019 by Nikolaos Nikolaou
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
x = [1 2; 3 4]; y_correct = [1 1]; assert(isequal(your_fcn_name(x),y_correct))

t = 1 t1 = 1 a = 1 b = 1 y = 1 1

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

t = 2 t1 = 3 a = 1 b = 2 y = 1 2