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 comments
Loading...
Problem Recent Solvers396
Suggested Problems
-
Project Euler: Problem 7, Nth prime
1751 Solvers
-
Return the first and last characters of a character array
11815 Solvers
-
Longest run of consecutive numbers
6445 Solvers
-
2238 Solvers
-
Matlab Basics - Set unwanted parts of a vector to zero
261 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!