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
349 Solvers
201 Solvers
Flip the vector from right to left
2669 Solvers
1173 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!