Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
n = 8;
x = 1;
y_correct = 255;
assert(isequal(xPlusInvX(x,n),y_correct))
|
2 | Pass |
n = 8;
x = 100;
y_correct = 255;
assert(isequal(xPlusInvX(x,n),y_correct))
|
3 | Pass |
n = 2;
x = 1;
y_correct = 3;
assert(isequal(xPlusInvX(x,n),y_correct))
|
4 | Pass |
n = 3;
x = 4;
y_correct = 7;
assert(isequal(xPlusInvX(x,n),y_correct))
|
Determine Whether an array is empty
646 Solvers
104 Solvers
construct matrix with identical rows
168 Solvers
241 Solvers
114 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!