Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
A=[1 1 1;2 4 8;3 9 27];
b=[1;2;3];
y_correct = [1;0;0];
tol = 1e-14;
assert(norm(lin_eqns(A,b)-y_correct) < tol)
|
2 | Pass |
A=[2 1 -2;1 -1 -1;1 1 3];
b=[3;0;12];
y_correct = [3.5;1;2.5];
tol = 1e-14;
assert(norm(lin_eqns(A,b)-y_correct) < tol)
|
3 | Pass |
A=[1 0 0;0 1 0;0 0 1];
b=[1e6;1e7;1e8];
y_correct = [1e6;1e7;1e8];
tol = 1e-9;
assert(norm(lin_eqns(A,b)-y_correct) < tol)
|
4 | Pass |
A=[1 0 1;0 -3 1;2 1 3];
b=[6;7;15];
y_correct = [2;-1;4];
tol = 1e-14;
assert(norm(lin_eqns(A,b)-y_correct) < tol)
|
6282 Solvers
Given an unsigned integer x, find the largest y by rearranging the bits in x
780 Solvers
Similar Triangles - find the height of the tree
203 Solvers
376 Solvers
251 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!