Cody

Solution 932569

Submitted on 6 Aug 2016 by Martin C.
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 = [1 2 3; 4 5 6;7 8 9]; y_correct = 40; assert(isequal(AddMatrixLim(x),y_correct))

total = 0 s = 12 15 18 total = 30 s = 6 15 24 total = 60 total = 40 y = 40

2   Pass
x= [1 5 6 7; 4 9 4 7; 9 4 2 1; 0 1 2 8] y_correct = 51; assert(isequal(AddMatrixLim(x),y_correct))

x = 1 5 6 7 4 9 4 7 9 4 2 1 0 1 2 8 total = 0 s = 14 19 14 23 total = 37 s = 19 24 16 11 total = 67 total = 51 y = 51

Suggested Problems

More from this Author2