Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%sum of first 'n' terms
n = 10;
y = 55;
assert(isequal(summation(n),y))
|
2 | Pass |
%%sum of first 'n' terms
n = 0;
y = 0;
assert(isequal(summation(n),y))
|
3 | Pass |
%%sum of first 'n' terms
n = 17;
y = 153;
assert(isequal(summation(n),y))
|
1726 Solvers
Back to basics 9 - Indexed References
392 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
297 Solvers
Convert given decimal number to binary number.
636 Solvers
Test Problem; Create a 5x5 array containing all ones
270 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!