Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1;
y_correct = 0;
assert(isequal(logic(x),y_correct))
y =
0
|
2 | Pass |
x = 4;
y_correct = 9
assert(isequal(logic(x),y_correct))
y_correct =
9
y =
0
y =
2
y =
5
y =
9
|
3 | Pass |
x = 7;
y_correct = 27
assert(isequal(logic(x),y_correct))
y_correct =
27
y =
0
y =
2
y =
5
y =
9
y =
14
y =
20
y =
27
|
2501 Solvers
given 3 sides, find area of this triangle
680 Solvers
convert matrix to single column
308 Solvers
429 Solvers
147 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!