Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [ 1 2 3 ]; y = [ 3 2 1 ];
z_correct = [3 4 3];
assert(isequal(vector_dot(x,y),z_correct))
|
2 | Pass |
x = [ 1 2 3 4 ]; y = [2 3 2 1 ];
z_correct = [2 6 6 4];
assert(isequal(vector_dot(x,y),z_correct))
|
366 Solvers
07 - Common functions and indexing 2
316 Solvers
Matlab Basics II - Create a vector with a repeated entry
182 Solvers
354 Solvers
Vector raised to a power, element-wise (★)
66 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!