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)))
|
Back to basics 4 - Search Path
322 Solvers
Longest run of consecutive numbers
1658 Solvers
Flag largest magnitude swings as they occur
582 Solvers
190 Solvers
Create a two dimensional zero matrix
354 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!