Cody

Solution 1201611

Submitted on 31 May 2017 by Karen Yee
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 = [12 4 7; 5 1 4]; y_correct = [7 4 12; 4 1 5]; assert(isequal(your_fcn_name(x),y_correct))

f = 12 x = 7 4 7 5 1 4 x = 7 4 12 5 1 4 l = 5 x = 7 4 12 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))

f = 12 x = 8 4 7 8 5 1 4 8 x = 8 4 7 12 5 1 4 8 l = 5 x = 8 4 7 12 8 1 4 8 x = 8 4 7 12 8 1 4 5 y = 8 4 7 12 8 1 4 5

Suggested Problems

More from this Author27