Cody

Solution 2178764

Submitted on 27 Mar 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 in solution: Line: 5 Column: 3 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 5 Column: 3 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 5 Column: 3 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.