Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x(:,:,3) = [48,96;40,80;42,84;45,90];
x(:,:,2) = [42,84;36,72;40,80;42,84];
n = 2
y_correct = 72;
assert(isequal(phy_grade(x,n),y_correct))
n =
2
y =
42 84
36 72
40 80
42 84
y =
72
|
2 | Pass |
x(:,:,3) = [3,6;32,64;42,84;45,90];
n = 3
y_correct = 64;
assert(isequal(phy_grade(x,n),y_correct))
n =
3
y =
3 6
32 64
42 84
45 90
y =
64
|
Back to basics 4 - Search Path
280 Solvers
262 Solvers
Sum of diagonal of a square matrix
1159 Solvers
Replace multiples of 5 with NaN
282 Solvers
Matlab Basics II - Count rows in a matrix
178 Solvers