Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
a = [12 78 5 23 09 67 82 18];
y_correct = [5 82];
assert(isequal(min_max(a),y_correct))
y =
5 82
|
2 | Pass |
a = [12 178 15 23 09 67 82 18];
y_correct = [09 178];
assert(isequal(min_max(a),y_correct))
y =
9 178
|
54249 Solvers
229 Solvers
Sort the vector with the given index
98 Solvers
373 Solvers
292 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!