Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
A = 1;row =1;
y_correct = 1;
assert(isequal(your_fcn_name(A,row),y_correct));
|
2 | Pass |
A = [1;2;3;4];row = 1
y_correct = 1;
assert(isequal(your_fcn_name(A,row),y_correct));
row =
1
|
3 | Pass |
A = [1;2;3;4];row = 4
y_correct = 1;
assert(isequal(your_fcn_name(A,row),y_correct));
row =
4
|
4 | Pass |
A = [1;2;3;4];row = 2
y_correct = 1;
assert(isequal(your_fcn_name(A,row),y_correct));
row =
2
|
5 | Pass |
A = [1;2;3;4;5];row = 2
y_correct = 0;
assert(isequal(your_fcn_name(A,row),y_correct));
row =
2
|
12378 Solvers
Select every other element of a vector
20331 Solvers
Sum all integers from 1 to 2^n
8411 Solvers
171 Solvers
Set the array elements whose value is 13 to 0
935 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!