Cody

Solution 2269999

Submitted on 11 May 2020
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   Fail
cMat = reshape(1:100,10,10); Ref = cMat(2:9,2:9); user = MyFunc(); assert(isequal(Ref,user))

counter = 1

Unrecognized function or variable 'n'. Error in MyFunc (line 3) for i = 1:n Error in Test1 (line 3) user = MyFunc();

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

counter = 1

Unrecognized function or variable 'n'. Error in MyFunc (line 3) for i = 1:n Error in Test2 (line 2) [CSub Mat] = MyFunc();

Suggested Problems

More from this Author26