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))
|
Make the vector [1 2 3 4 5 6 7 8 9 10]
35547 Solvers
Find last zero for each column
238 Solvers
Rounding off numbers to n decimals
1050 Solvers
187 Solvers
1221 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!