Cody

Solution 1813329

Submitted on 12 May 2019
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
eMat = [13 -1 5;-22 10 -87]; Ref = [1 1 1;eMat(2,:)]; user = MyFunc(); assert(isequal(Ref,user))

eMAt = 13 -1 5 -22 10 -87 eMat = 1

Undefined function or variable 'eMat2'. Error in MyFunc (line 4) eMat=eMat2 Error in Test1 (line 3) user = MyFunc();

2   Fail
Ref = [13 -1 5;-22 10 -87]; [eMean Mat] = MyFunc(); assert(isequal(Ref,Mat))

eMAt = 13 -1 5 -22 10 -87 eMat = 1

Undefined function or variable 'eMat2'. Error in MyFunc (line 4) eMat=eMat2 Error in Test2 (line 2) [eMean Mat] = MyFunc();