Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
n = 20;
m = 5;
total = 190;
assert(isequal(no_digit_sum(n,m),total))
|
2 | Pass |
n = 10;
m = 5;
total = 50;
assert(isequal(no_digit_sum(n,m),total))
|
3 | Pass |
n = 33;
m = 3;
total = 396;
assert(isequal(no_digit_sum(n,m),total))
|
306 Solvers
284 Solvers
579 Solvers
Matrix which contains the values of an other matrix A at the given locations.
214 Solvers
Sum the elements in either diagonal of a square matrix
178 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!