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))
|
725 Solvers
convert matrix to single column
306 Solvers
Find out value of sine given by degree.
231 Solvers
261 Solvers
175 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!