Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 2 3];
y_correct = 1;
assert(isequal(your_fcn_name(x),y_correct))
|
2 | Pass |
x = [2 2 3];
y_correct = 2;
assert(isequal(your_fcn_name(x),y_correct))
|
Sum all integers from 1 to 2^n
8415 Solvers
216 Solvers
251 Solvers
255 Solvers
113 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!