Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
%%
n=5
y_correct=[27 54 36]
assert(isequal(cube_slices(n),y_correct))
Error: Assertion failed.
|
2 | Fail |
%%
n=3
y_correct=[1 6 12]
assert(isequal(cube_slices(n),y_correct))
Error: Assertion failed.
|
3 | Fail |
%%
n=7
y_correct=[125 150 60]
assert(isequal(cube_slices(n),y_correct))
Error: Assertion failed.
|
Find all elements less than 0 or greater than 10 and replace them with NaN
13048 Solvers
Make a random, non-repeating vector.
2795 Solvers
223 Solvers
485 Solvers
555 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!