How to multiply matrix with matrix, only between their component counterparts
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hendrawan Aji
am 19 Feb. 2022
Kommentiert: Arif Hoq
am 19 Feb. 2022
Hi,
if I have matrices A and B
A=[ 1 2 ; 3 4]
B=[10 20; 30 40]
are there a fast/straightforward operation in which the result is matrix C
C=[1x10 2x20 ; 3x30 4x40] ?
Obviously, calculation with 4 loops is what I would like to avoid.
Thank you in advance.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical 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!