Cody

Solution 1771609

Submitted on 3 Apr 2019 by Oliver Braatz
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
cMat = reshape(1:100,10,10); Ref = sum(cMat); user = MyFunc(); assert(isequal(Ref,user))

cSum = 55 155 255 355 455 555 655 755 855 955

2   Pass
Ref = reshape(1:100,10,10); [cSum Mat] = MyFunc(); assert(isequal(Ref,Mat))

cSum = 55 155 255 355 455 555 655 755 855 955

Suggested Problems

More from this Author26