Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
filetext = fileread('dtrmnt_3x3.m');
assert(isempty(strfind(filetext, 'det')),'det() forbidden')
|
2 | Pass |
x = [3 0 2; 2 1 -2; 0 1 1];
y_correct = 13;
assert(sum(sum(abs(dtrmnt_3x3(x)-y_correct)))<1e-3)
|
3 | Pass |
x = [1 40 2; 7 -9 10; 1 0 1];
y_correct = 129;
assert(sum(sum(abs(dtrmnt_3x3(x)-y_correct)))<1e-3)
|
17216 Solvers
1223 Solvers
Getting the indices from a vector
3208 Solvers
219 Solvers
444 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!