Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 2 3 4 5 6 7;1 2 3 4 5 6 7];
y_correct = [1;1;2;2;3;3;4;4;5;5;6;6;7;7]
assert(isequal(your_fcn_name(x),y_correct))
y_correct =
1
1
2
2
3
3
4
4
5
5
6
6
7
7
|
Reverse the elements of an array
687 Solvers
412 Solvers
find the maximum element of the matrix
349 Solvers
5121 Solvers
323 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!