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))
|
2 | Pass |
n = 0;
y = 0;
assert(isequal(summation(n),y))
|
3 | Pass |
n = 17;
y = 153;
assert(isequal(summation(n),y))
|
Getting the row and column location from a matrix
236 Solvers
525 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
297 Solvers
345 Solvers
320 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!