Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
A = [2 3; 3 4]; b = [23; 32];
x_correct = [4;5];
assert(isequal(solveSimul(A,b),x_correct))
x =
4
5
|
2 | Pass |
A = [2 3; 3 4]; b = [23; 36];
x_correct = [16;-3];
assert(isequal(solveSimul(A,b),x_correct))
x =
16
-3
|
3 | Pass |
A = [2 3; 3 4]; b = [23; 43];
x_correct = [37;-17];
assert(isequal(solveSimul(A,b),x_correct))
x =
37
-17
|
4 | Pass |
A = [2 3; 3 4]; b = [23; 49];
x_correct = [55;-29];
assert(isequal(solveSimul(A,b),x_correct))
x =
55
-29
|
420 Solvers
Create matrix of replicated elements
321 Solvers
216 Solvers
462 Solvers
Check that number is whole number
1070 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!