This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [12 4 7; 5 1 4];
y_correct = [7 4 12; 4 1 5];
assert(isequal(your_fcn_name(x),y_correct))
yy =
12
5
x =
7 4 7
4 1 4
x =
7 4 12
4 1 5
y =
7 4 12
4 1 5
|
2 | Pass |
x = [12 4 7 8; 5 1 4 8];
y_correct = [8 4 7 12; 8 1 4 5];
assert(isequal(your_fcn_name(x),y_correct))
yy =
12
5
x =
8 4 7 8
8 1 4 8
x =
8 4 7 12
8 1 4 5
y =
8 4 7 12
8 1 4 5
|
296 Solvers
197 Solvers
204 Solvers
113 Solvers
126 Solvers