Solution 1986056

Submitted on 22 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   Fail
Ref = 1:20; Ref(2:2:20)=Ref(2:2:20)*-1; user = MyFunc(); assert(isequal(user,Ref))

Unrecognized function or variable 'lin'. Error in MyFunc (line 2) a=lin*(-1) Error in Test1 (line 3) user = MyFunc();