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 Solvers383
Suggested Problems
-
Swap the first and last columns
21557 Solvers
-
Getting the indices from a vector
10866 Solvers
-
427 Solvers
-
16618 Solvers
-
Check that number is whole number
4758 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!