Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1;
y_correct = 45;
assert(isequal(logic(x),y_correct))
|
2 | Pass |
x = 3;
y_correct = 60;
assert(isequal(logic(x),y_correct))
y =
15
y =
60
|
3 | Pass |
x = 5;
y_correct = 72;
assert(isequal(logic(x),y_correct))
y =
15
y =
60
y =
12
y =
72
|
Determine whether a vector is monotonically increasing
11925 Solvers
Element by element multiplication of two vectors
269 Solvers
177 Solvers
443 Solvers
74 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!