Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
x = 1;
y_correct = 1-1+1-1-1+1+1-1+1-1+1-1+1;
assert(isequal(Hen(x),y_correct))
|
2 | Fail |
x = 2;
y_correct = 1-1+1-1-1+1+1-1+1-1+1-1+1+1;
assert(isequal(Hen(x),y_correct))
|
given 3 sides, find area of this triangle
680 Solvers
Number of 1s in the Binary Representation of a Number
356 Solvers
Who is the smartest MATLAB programmer?
561 Solvers
272 Solvers
ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
292 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!