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 Solvers366
Suggested Problems
-
16979 Solvers
-
Convert a vector into a number
590 Solvers
-
Matlab Basics II - Create a vector with a repeated entry
228 Solvers
-
342 Solvers
-
Matrix of almost all zeros, except for main diagonal
179 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!