This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1;
y=2;
z=3
y_correct = 6;
assert(isequal(your_fcn_name(x,y,z),y_correct))
z =
3
ans =
6
|
2 | Pass |
x = 0;
y=0;
z=0;
y_correct = 0;
assert(isequal(your_fcn_name(x,y,z),y_correct))
ans =
0
|
Select every other element of a vector
16215 Solvers
265 Solvers
Back to basics 19 - character types
189 Solvers
197 Solvers
1228 Solvers