Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 2;
y_correct = 4;
assert(isequal(assign(x),y_correct))
ans =
4
|
2 | Pass |
x = [2 3 4];
y_correct = [4 9 16];
assert(isequal(assign(x),y_correct))
ans =
4 9 16
|
Extract leading non-zero digit
1205 Solvers
Increment a number, given its digits
562 Solvers
246 Solvers
find the surface area of a cube
336 Solvers
2620 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!