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
|
895 Solvers
Reverse the elements of an array
687 Solvers
Side of an equilateral triangle
2595 Solvers
Element by element multiplication of two vectors
268 Solvers
Matlab Basics - Create a row vector
277 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!