Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
m = 7;
n = 10;
y_correct = 26;
assert(isequal(sum(sum(your_fcn_name(m,n))),y_correct))
|
2 | Pass |
m = 5;
n = 10;
y_correct = 17;
assert(isequal(sum(sum(your_fcn_name(m,n))),y_correct))
|
3 | Pass |
m = 9;
n = 6;
y_correct = 19;
assert(isequal(sum(sum(your_fcn_name(m,n))),y_correct))
|
Find the sum of all the numbers of the input vector
31958 Solvers
4107 Solvers
Number of 1s in the Binary Representation of a Number
356 Solvers
309 Solvers
Detect a number and replace with two NaN's
178 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!