Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 2 3];
w = [10 15 20];
y_correct = 100/3;
assert(isequal(weighted_average(x,w),y_correct))
y =
33.3333
|
2 | Pass |
x = [1 2 3];
w = [10 15 20];
y_correct = 100/3;
assert(isequal(weighted_average(x,w),y_correct))
y =
33.3333
|
Find the peak 3n+1 sequence value
1107 Solvers
495 Solvers
613 Solvers
485 Solvers
Find the Oldest Person in a Room
5087 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!