Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 2 3 4 5 6 7];
x_cor = [1 0 3 4 0 0 7];
assert(isequal(set_2_5_6_to_zero(x),x_cor))
x =
1 0 3 4 5 6 7
x =
1 0 3 4 0 6 7
x =
1 0 3 4 0 0 7
|
2 | Pass |
x = [3 5 7 2 8 9 12 22 13 17 6];
x_cor = [3 0 7 2 0 0 12 22 13 17 6];
assert(isequal(set_2_5_6_to_zero(x),x_cor))%%
x = [12.2 16.5 13.2 2.5 9.7 7.6 3.1 1.4];
x_cor = [12.2 0 13.2 2.5 0 0 3.1 1.4];
assert(isequal(set_2_5_6_to_zero(x),x_cor))
x =
3 0 7 2 8 9 12 22 13 17 6
x =
3 0 7 2 0 9 12 22 13 17 6
x =
3 0 7 2 0 0 12 22 13 17 6
x =
12.2000 0 13.2000 2.5000 9.7000 7.6000 3.1000 1.4000
x =
12.2000 0 13.2000 2.5000 0 7.6000 3.1000 1.4000
x =
12.2000 0 13.2000 2.5000 0 0 3.1000 1.4000
|
given 3 sides, find area of this triangle
600 Solvers
156 Solvers
Implement simple rotation cypher
805 Solvers
Create a vector whose elements depend on the previous element
290 Solvers
213 Solvers