Cody

Problem 1817. 07 - Common functions and indexing 2

Solution 3716483

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

Unrecognized function or variable 'eMat'. Error in MyFunc (line 2) [eMean eMat]=mean(eMat,2) Error in Test1 (line 3) user = MyFunc();

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

Unrecognized function or variable 'eMat'. Error in MyFunc (line 2) [eMean eMat]=mean(eMat,2) Error in Test2 (line 2) [eMean Mat] = MyFunc();

Suggested Problems

More from this Author26

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!