Given two input vectors, return the element-by-element product.
Example
A = [1 2 3] B = [7 3 1]
The answer should be
[7 6 3]
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers399
Suggested Problems
-
Select every other element of a vector
37226 Solvers
-
476 Solvers
-
Back to basics 9 - Indexed References
463 Solvers
-
Sum the 'edge' values of a matrix
412 Solvers
-
Replace every 3rd element in a vector with 4
268 Solvers
More from this Author70
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!