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))
|
2 | Pass |
x = [1 1 0; 1 -1 0];
y_correct = x(:,1:end-1)\x(:,end);
assert(isequal(solvesystem(x),y_correct))
|
Remove any row in which a NaN appears
6826 Solvers
Who knows the last digit of pi?
557 Solvers
573 Solvers
convert matrix to single column
306 Solvers
583 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!