Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 16;
y_correct = [ 2 4 8 16 ];
assert(isequal(your_fcn_name(x),y_correct))
|
2 | Pass |
x = 23;
y_correct = [ 23 ];
assert(isequal(your_fcn_name(x),y_correct))
|
3 | Pass |
x = 100;
y_correct = [ 2 4 5 10 20 25 50 100 ];
assert(isequal(your_fcn_name(x),y_correct))
|
434 Solvers
Return the first and last character of a string
3452 Solvers
Given a window, how many subsets of a vector sum positive
743 Solvers
Convert a Cell Array into an Array
430 Solvers
Cumulative product of a vector
208 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!