Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x1 = [ 1 2 3 ];
x2 = [ 10 20 ];
y_correct = [11 21; 12 22; 13 23];
assert(isequal(gridit(@sum, x1, x2), y_correct));
|
2 | Pass |
x1 = [ 1 2 3 ];
x2 = [ 10 20 ];
x3 = [ 0 100 ];
y_correct(:,:,1) = [11 21; 12 22; 13 23];
y_correct(:,:,2) = y_correct(:,:,1) + 100;
assert(isequal(gridit(@sum, x1, x2, x3), y_correct));
|
3 | Pass |
assert(isequal(gridit(@sum, 2,3),5));
|
900 Solvers
173 Solvers
Find third Side of a right triangle given hypotenuse and a side. No * - or other functions allowed
141 Solvers
136 Solvers
Moving average (variable kernel length)
104 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!