Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [3 1 2 4 6 6 7;
7 3 2 1 5 2 4];
y_correct = 1;
assert(isequal(your_fcn_name(x),y_correct))
y =
1
|
2 | Pass |
x = [3 1 2 4 6 6 7;
7 3 6 1 5 2 4];
y_correct = 0;
assert(isequal(your_fcn_name(x),y_correct))
y =
0
|
1365 Solvers
"Low : High - Low : High - Turn around " -- Create a subindices vector
320 Solvers
Longest run of consecutive numbers
1659 Solvers
185 Solvers
414 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!