Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%% test 1
A = [2 3; 3 4]; b = [23; 32];
x_correct = [4;5];
assert(isequal(solveSimul(A,b),x_correct))
|
2 | Pass |
%% test 2
A = [2 3; 3 4]; b = [23; 36];
x_correct = [16;-3];
assert(isequal(solveSimul(A,b),x_correct))
|
3 | Pass |
%% test 3
A = [2 3; 3 4]; b = [23; 43];
x_correct = [37;-17];
assert(isequal(solveSimul(A,b),x_correct))
|
4 | Pass |
%% test 4
A = [2 3; 3 4]; b = [23; 49];
x_correct = [55;-29];
assert(isequal(solveSimul(A,b),x_correct))
|
351 Solvers
"Low : High - Low : High - Turn around " -- Create a subindices vector
320 Solvers
725 Solvers
241 Solvers
Back to basics - mean of corner elements of a matrix
297 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!