Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
p=[1 3 4];
q=[4 6 9];
y_correct = [4 18 43 51 36];
assert(isequal(convolution(p,q),y_correct))
y =
4 18 43 51 36
|
2 | Pass |
%%
p=[8 3];
q=[2 5];
y_correct = [16 46 15];
assert(isequal(convolution(p,q),y_correct))
y =
16 46 15
|
Select every other element of a vector
20334 Solvers
3375 Solvers
3601 Solvers
509 Solvers
155 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!