Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = [1 2 3 4 5 6 7 8 9 10];
assert(isequal(length(x),10))
|
2 | Pass |
%%
x = [1 2 3 4 5 6 7 8 9 10];
assert(isequal(diff(x),ones(1,9)))
|
Make a random, non-repeating vector.
2803 Solvers
302 Solvers
257 Solvers
286 Solvers
241 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!