Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
N = 6;
rng(7);
assert((round(abs(loln(N)),7) == 7.2900e-05))
dice_diff =
7.2890e-05
|
2 | Pass |
N = 10;
rng(1000);
assert((round(abs(loln(N)),7) == 8.7600e-05))
dice_diff =
8.7570e-05
|
Select every other element of a vector
20331 Solvers
Project Euler: Problem 6, Natural numbers, squares and sums.
1018 Solvers
249 Solvers
There are 10 types of people in the world
310 Solvers
286 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!