Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
a = [1 2 3]
b = [4 5 6]
y_correct = [4 13 28 27 18];
assert(isequal(your_fcn_name(a,b),y_correct))
a =
1 2 3
b =
4 5 6
|
2 | Pass |
%%
a = [3 4 0]
b = [9 6 2 0 1]
y_correct = [27 54 30 8 3 4 0];
assert(isequal(your_fcn_name(a,b),y_correct))
a =
3 4 0
b =
9 6 2 0 1
|
Is my wife right? Now with even more wrong husband
1241 Solvers
Determine the number of odd integers in a vector
435 Solvers
Put Two 1D matrices into one 1D matrix
110 Solvers
Is this triangle right-angled?
2874 Solvers
Deleting an element in a matrix
325 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!