Problem 1811. 05 - Vector Equations 3

Solution 1973596

Submitted on 13 Oct 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   Pass
dVec = logspace(0,1,101); ref = log10(1./dVec); user = MyFunc(); assert(isequal(user,ref))

2   Fail
dRef = logspace(0,1,101); [zVec dVec] = MyFunc(); assert(isequal(dRef,dVec))

Error using MyFunc Too many output arguments. Error in Test2 (line 2) [zVec dVec] = MyFunc();

Suggested Problems

More from this Author26