This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 7;
y_correct = 8256;
assert(isequal(sum_int(x),y_correct))
ans =
8256
|
2 | Pass |
x = 10;
y_correct = 524800;
assert(isequal(sum_int(x),y_correct))
ans =
524800
|
Create a vector whose elements depend on the previous element
391 Solvers
Magic is simple (for beginners)
2749 Solvers
Fahrenheit to Celsius converter
358 Solvers
Who has power to do everything in this world?
318 Solvers
Deleting an element in a matrix
325 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!