Cody

Solution 1459641

Submitted on 9 Mar 2018 by Doddy Kastanya
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 = [45 106; 67 112]; y_correct = [48 9 ;70 15]; assert(isequal(fcn(x),y_correct))

2   Pass
x = [100 101]; y_correct = [103 4]; assert(isequal(fcn(x),y_correct))

3   Pass
x = [99 100 101;102 103 104;0 1 2;200 300 400]; y_correct = [ 102 103 4;5 6 7;3 4 5;103 203 303]; assert(isequal(fcn(x),y_correct))

Suggested Problems

More from this Author12