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

83.92% Correct | 16.08% Incorrect
Last Solution submitted on Oct 10, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers371

Suggested Problems

More from this Author70

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!