Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
a = 1;
b = 0;
y_correct = 1;
assert(isequal(logic(a,b),y_correct))
|
2 | Pass |
a = 3;
b = 1;
y_correct = 16;
assert(isequal(logic(a,b),y_correct))
|
3 | Pass |
a = 2;
b = 1;
y_correct = 9;
assert(isequal(logic(a,b),y_correct))
|
3376 Solvers
Remove the two elements next to NaN value
411 Solvers
340 Solvers
Remove element(s) from cell array
373 Solvers
168 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!