Cody

Solution 319132

Submitted on 13 Sep 2013 by @bmtran
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 = cMat(2:9,2:9); user = MyFunc(); assert(isequal(Ref,user))
2   Pass
%% Ref = reshape(1:100,10,10); [CSub Mat] = MyFunc(); assert(isequal(Ref,Mat))