Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
a = 1;
b=2;
c=3;
y_correct = 6;
assert(isequal(vol(a,b,c),y_correct))
y =
6
|
2 | Pass |
a = 6;
b=5;
c=3;
y_correct = 90;
assert(isequal(vol(a,b,c),y_correct))
y =
90
|
Select every other element of a vector
16215 Solvers
2527 Solvers
How to find the position of an element in a vector without using the find function
2320 Solvers
612 Solvers
Make a random, non-repeating vector.
1115 Solvers