How to find the multiplication or division value of a matrix for each row and column in matlab
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
piyachat
am 22 Nov. 2024
Kommentiert: Image Analyst
am 24 Nov. 2024
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.
0 Kommentare
Akzeptierte Antwort
Matt J
am 22 Nov. 2024
A.*B
A./B
2 Kommentare
Image Analyst
am 24 Nov. 2024
To learn other fundamental concepts, invest 2 hours of your time here:
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!