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))
z =
3 4 3
|
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))
z =
2 6 6 4
|
1882 Solvers
Generate N equally spaced intervals between -L and L
564 Solvers
Determine the number of odd integers in a vector
435 Solvers
Switch matrix to a column vector
260 Solvers
2625 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!