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 Solvers393
Suggested Problems
-
Is my wife right? Now with even more wrong husband
1339 Solvers
-
1494 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
884 Solvers
-
Replace multiples of 5 with NaN
465 Solvers
-
Solve a System of Linear Equations
14144 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!