How to find the multiplication or division value of a matrix for each row and column in matlab

21 次查看(过去 30 天)
I want to find the multiplication or division value of a matrix for each row and column in matlab. For example:
A= [1,2,3;4,5,6;7,8,9]
B=[3,8,6;2,4,1;5,6,7]
Result=
[1*3 2*8 3* 6
4*2 5*4 6*1
7*5 8*6 9*7]
=[ 3,16,18;8,20,6;35,54,63]
How do I do it? Thank you.

采纳的回答

Matt J
Matt J 2024-11-22,15: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