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.89% Correct | 16.11% Incorrect
Last Solution submitted on Sep 13, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers370

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!