Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
n = 1;
c_correct = 1;
assert(isequal(intcomp(n),c_correct))
|
2 | Pass |
n = 3;
c_correct = 3;
assert(isequal(intcomp(n),c_correct))
|
3 | Pass |
n = [6 10 11;16 18 41];
c_correct = [5 7 8;8 8 12];
assert(isequal(intcomp(n),c_correct))
|
4 | Pass |
n = [60 27 72 1 51 24 46];
c_correct = [12 9 12 1 12 9 12];
assert(isequal(intcomp(n),c_correct))
|
5 | Pass |
n = [58;65;47;78;62];
c_correct = [13;13;13;13;13];
assert(isequal(intcomp(n),c_correct))
|
Remove any row in which a NaN appears
6827 Solvers
Remove the polynomials that have positive real elements of their roots.
630 Solvers
202 Solvers
Find out missing number from a vector of 9 elements
245 Solvers
Penny flipping - calculate winning probability (easy)
144 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!