Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
n = 6;
out = 8;
assert(isequal(next_fibonacci(n),out));
|
2 | Pass |
n = [12 40 50];
out = [13 55 55];
assert(isequal(next_fibonacci(n),out));
|
3 | Pass |
n = 10.^(1:5);
out = [13 144 1597 10946 121393];
assert(isequal(next_fibonacci(n),out));
|
4 | Pass |
n = round(7.^(3:.5:7));
out = [377 987 2584 6765 17711 46368 121393 317811 832040];
assert(isequal(next_fibonacci(n),out));
|
Read a column of numbers and interpolate missing data
1235 Solvers
Remove the small words from a list of words.
672 Solvers
Determine Whether an array is empty
646 Solvers
5460 Solvers
302 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!