Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [2 1 3; 1 1 2];
y_correct = x(:,1:end-1)\x(:,end);
assert(isequal(solvesystem(x),y_correct))
ans =
1.0000
1.0000
|
2 | Pass |
x = [1 1 0; 1 -1 0];
y_correct = x(:,1:end-1)\x(:,end);
assert(isequal(solvesystem(x),y_correct))
ans =
0
0
|
2261 Solvers
Omit columns averages from a matrix
527 Solvers
Project Euler: Problem 1, Multiples of 3 and 5
1491 Solvers
convert matrix to single column
306 Solvers
360 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!