Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1;
y_correct = 7;
assert(isequal(logic(x),y_correct))
|
2 | Pass |
x = 2;
y_correct = 4;
assert(isequal(logic(x),y_correct))
|
3 | Pass |
x = 5;
assert(isequal(logic(x),9))
|
4 | Pass |
x = 6;
assert(isequal(logic(x),2))
|
Find the sum of the elements in the "second" diagonal
994 Solvers
Magic is simple (for beginners)
2754 Solvers
Test Problem; Create a 5x5 array containing all ones
270 Solvers
If you have matrix A, create matrix B using matrix A as an "element"
87 Solvers
Find my daddy long leg (No 's')
632 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!