Cody

Solution 1932859

Submitted on 12 Sep 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
x=(1:10)' y=3*x a=3 assert(abs(reginv(x,y)-a)<0.001)

Error in solution: Line: 2 Column: 6 Invalid expression. Check for missing or extra characters.

2   Fail
x=(1:10)' y=3*x+2 a=3.2857 assert(abs(reginv(x,y)-a)<0.001)

Error in solution: Line: 2 Column: 6 Invalid expression. Check for missing or extra characters.