Cody

Solution 2092226

Submitted on 14 Jan 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
A=[1 1;1 2]; B=[2 3]'; y_correct = [1 1]'; assert(isequal(your_fcn_name(A,B),y_correct))

Error using / Matrix dimensions must agree. Error in your_fcn_name (line 2) y = B/A; Error in Test1 (line 4) assert(isequal(your_fcn_name(A,B),y_correct))

2   Fail
A=[1 1;1 2]; B=[9 10]'; y_correct = [8 1]'; assert(isequal(your_fcn_name(A,B),y_correct))

Error using / Matrix dimensions must agree. Error in your_fcn_name (line 2) y = B/A; Error in Test2 (line 4) assert(isequal(your_fcn_name(A,B),y_correct))

3   Fail
A=[1 3;1 2];; B=[9 10]'; y_correct = [12 -1]'; assert(isequal(your_fcn_name(A,B),y_correct))

Error using / Matrix dimensions must agree. Error in your_fcn_name (line 2) y = B/A; Error in Test3 (line 4) assert(isequal(your_fcn_name(A,B),y_correct))