Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
m=1;
h=10;
v=2;
y_correct = 100;
assert(isequal(te(m,h,v),y_correct))
y =
100
|
2 | Pass |
m=10;
h=10;
v=2;
y_correct = 1000;
assert(isequal(te(m,h,v),y_correct))
y =
1000
|
3 | Pass |
m=1;
h=10;
v=20;
y_correct = 298;
assert(isequal(te(m,h,v),y_correct))
y =
298
|
Find the peak 3n+1 sequence value
1108 Solvers
The sum of the numbers in the vector
426 Solvers
463 Solvers
Cumulative product of a vector
208 Solvers
429 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!