Cody

Solution 2094155

Submitted on 15 Jan 2020
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 = 1; y = 1; assert(isequal(row_to_col(x),y))

Unrecognized function or variable 'y'. Error in row_to_col (line 2) y = y(:); Error in Test1 (line 3) assert(isequal(row_to_col(x),y))

2   Fail
x = [1 2 3]; y = [1;2;3]; assert(isequal(row_to_col(x),y))

Unrecognized function or variable 'y'. Error in row_to_col (line 2) y = y(:); Error in Test2 (line 3) assert(isequal(row_to_col(x),y))

3   Fail
x = [4 5 6 7 8 9]; y = [4;5;6;7;8;9]; assert(isequal(row_to_col(x),y))

Unrecognized function or variable 'y'. Error in row_to_col (line 2) y = y(:); Error in Test3 (line 3) assert(isequal(row_to_col(x),y))