Cody

Solution 1973170

Submitted on 12 Oct 2019
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 = [9 6 3; 5 4 1]; y_correct = [9 5 6 4 3 1]' assert(isequal(your_fcn_name(x),y_correct))

y_correct = 9 5 6 4 3 1 x = 0 6 3 5 4 1

Index in position 1 exceeds array bounds (must not exceed 1). Error in your_fcn_name (line 6) x(i,j)=y(k,1) Error in Test1 (line 3) assert(isequal(your_fcn_name(x),y_correct))