How can i multiply each value from a row to each value of another row.

3 次查看(过去 30 天)
Example: A = [1 2 3]
B = [ 4 5 6]
Answer:[ 4 10 18]

采纳的回答

Ameer Hamza
Ameer Hamza 2020-10-31
编辑:Ameer Hamza 2020-10-31
A = [1 2 3]
B = [4 5 6]
Answer = A.*B
Result
>> Answer
Answer =
4 10 18

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by