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))
|
Select every other element of a vector
16252 Solvers
1879 Solvers
Make one big string out of two smaller strings
1070 Solvers
Test if two numbers have the same digits
155 Solvers
341 Solvers