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 Solvers369
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
2957 Solvers
-
How to find the position of an element in a vector without using the find function
2706 Solvers
-
531 Solvers
-
553 Solvers
-
294 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!