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
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
52714 Solvers
-
Select every other element of a vector
36167 Solvers
-
Find the alphabetic word product
3459 Solvers
-
Determine Whether an array is empty
811 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13617 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!