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 Solvers377
Suggested Problems
-
Project Euler: Problem 5, Smallest multiple
1504 Solvers
-
Find the largest value in the 3D matrix
1547 Solvers
-
Check if number exists in vector
12253 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
832 Solvers
-
Back to basics - mean of corner elements of a matrix
427 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!