Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
a = [ 1 5 8 9 7 4 5 6];
b = [ 6 8 4 1 ];
y_correct = [ 6 38 92 139 151 124 99 99 72 29 6];
assert(isequal(multiply(a,b),y_correct))
a = [ 22 98 56 74 12];
b = [78 45 ];
y_correct = [ 1716 8634 8778 8292 4266 540];
assert(isequal(multiply(a,b),y_correct))
|
1882 Solvers
middleAsColumn: Return all but first and last element as a column vector
387 Solvers
Create a vector whose elements depend on the previous element
391 Solvers
07 - Common functions and indexing 6
348 Solvers
292 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!