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
|
Project Euler: Problem 9, Pythagorean numbers
157 Solvers
Find the largest value in the 3D matrix
897 Solvers
341 Solvers
295 Solvers
Matlab Basics - Convert a row vector to a column vector
300 Solvers