Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 0 0 0 0 3 0 0];
y_correct = 20.30;
assert(isequal(mymoney(x),y_correct))
|
2 | Pass |
x = [1 0 1 0 2 3 0 0];
y_correct = 25.80;
assert(isequal(mymoney(x),y_correct))
|
3 | Pass |
x = [0 0 0 3 2 3 5 9];
y_correct = 4.14;
assert(isequal(mymoney(x),y_correct))
|
4 | Pass |
x = [1 2 0 0 0 0 0 0];
y_correct = 40.00;
assert(isequal(mymoney(x),y_correct))
|
Omit columns averages from a matrix
527 Solvers
420 Solvers
Find the sides of an isosceles triangle when given its area and height from its base to apex
449 Solvers
429 Solvers
28 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!