Cody

Solution 2283520

Submitted on 15 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))

Undefined function 'reshpae' for input arguments of type 'double'. Error in MyFunc (line 2) cMat=reshpae([1:100],10,10) Error in Test1 (line 3) user = MyFunc();

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

Undefined function 'reshpae' for input arguments of type 'double'. Error in MyFunc (line 2) cMat=reshpae([1:100],10,10) Error in Test2 (line 2) [CSub Mat] = MyFunc();