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)))
|
1800 Solvers
Back to basics 23 - Triangular matrix
634 Solvers
Create a square matrix of multiples
383 Solvers
Count decimal digits of a number
176 Solvers
275 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!