Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
A = [3 2; -1, 2];
b = [18; 2];
[Ab,x]=GaussEliminate2eqs(A,b);
Ab_correct = [A,b];
Ab_correct(2,:) = [0 8/3 8];
x_correct = [4; 3];
assert(isequal(Ab,Ab_correct))
assert(isequal(x, x_correct))
|
3238 Solvers
115 Solvers
134 Solvers
First non-zero element in each column
593 Solvers
432 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!