This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
n = 10;
y = 55;
assert(isequal(summation(n),y))
y =
55
|
2 | Pass |
n = 0;
y = 0;
assert(isequal(summation(n),y))
y =
0
|
3 | Pass |
n = 17;
y = 153;
assert(isequal(summation(n),y))
y =
153
|
351 Solvers
2473 Solvers
Determine the number of odd integers in a vector
320 Solvers
204 Solvers
find the maximum element of the matrix
254 Solvers