Cody

Solution 2396184

Submitted on 27 May 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 = [2 3; 3 4]; b = [23; 32]; x_correct = [4;5]; assert(isequal(solveSimul(A,b),x_correct))

Error in solution: Line: 3 Column: 14 Incorrect use of '=' operator. To assign a value to a variable, use '='. To compare values for equality, use '=='.

2   Fail
A = [2 3; 3 4]; b = [23; 36]; x_correct = [16;-3]; assert(isequal(solveSimul(A,b),x_correct))

Error in solution: Line: 3 Column: 14 Incorrect use of '=' operator. To assign a value to a variable, use '='. To compare values for equality, use '=='.

3   Fail
A = [2 3; 3 4]; b = [23; 43]; x_correct = [37;-17]; assert(isequal(solveSimul(A,b),x_correct))

Error in solution: Line: 3 Column: 14 Incorrect use of '=' operator. To assign a value to a variable, use '='. To compare values for equality, use '=='.

4   Fail
A = [2 3; 3 4]; b = [23; 49]; x_correct = [55;-29]; assert(isequal(solveSimul(A,b),x_correct))

Error in solution: Line: 3 Column: 14 Incorrect use of '=' operator. To assign a value to a variable, use '='. To compare values for equality, use '=='.