Problem 2516. Element by element multiplication of two vectors
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 commentsProblem Recent Solvers385
Suggested Problems
-
487 Solvers
-
703 Solvers
-
Try 1.5.4: Celsius to Fahrenheit
847 Solvers
-
421 Solvers
-
Replace every 3rd element in a vector with 4
258 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!