Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 15;
y_correct = 1;
assert(isequal(your_fcn_name(x),y_correct))
|
2 | Pass |
x = 15.25;
y_correct = 0;
assert(isequal(your_fcn_name(x),y_correct))
|
3 | Pass |
x = 10;
y_correct = 1;
assert(isequal(your_fcn_name(x),y_correct))
|
Select every other element of a vector
20352 Solvers
Return the largest number that is adjacent to a zero
3751 Solvers
Matrix indexing with two vectors of indices
485 Solvers
505 Solvers
ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
292 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!