Cody

Solution 2462552

Submitted on 3 Jun 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))

Undefined function 'rot' for input arguments of type 'double'. Error in row_to_col (line 2) y = rot(x); 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))

Undefined function 'rot' for input arguments of type 'double'. Error in row_to_col (line 2) y = rot(x); 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))

Undefined function 'rot' for input arguments of type 'double'. Error in row_to_col (line 2) y = rot(x); Error in Test3 (line 3) assert(isequal(row_to_col(x),y))