Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1;
y_correct = 1-1+1-1-1+1+1-1+1-1+1-1+1;
assert(isequal(Hen(x),y_correct))
|
2 | Pass |
x = 2;
y_correct = 1-1+1-1-1+1+1-1+1-1+1-1+1+1;
assert(isequal(Hen(x),y_correct))
|
Swap the first and last columns
12408 Solvers
1600 Solvers
Find the alphabetic word product
2321 Solvers
1309 Solvers
Matrix of almost all zeros, except for main diagonal
152 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!