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))
|
Project Euler: Problem 1, Multiples of 3 and 5
1492 Solvers
Number of 1s in a binary string
2824 Solvers
185 Solvers
192 Solvers
Swap the first and last columns (★★)
52 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!