Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1;
y_correct = 21;
assert(isequal(logic(x),y_correct))
|
2 | Pass |
x = 3;
y_correct = 22;
assert(isequal(logic(x),y_correct))
|
3 | Pass |
x = 4;
y_correct = 38;
assert(isequal(logic(x),y_correct))
|
4 | Pass |
x = 5;
y_correct = 33;
assert(isequal(logic(x),y_correct))
|
495 Solvers
Matlab Basics - Pick out parts of a vector
198 Solvers
Write a code that will follow the equation y = x * (x + x) * x.
210 Solvers
54 Solvers
25 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!