How to do 3D matrix multiplication
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
ANUSAYA SWAIN
am 20 Apr. 2024
Beantwortet: Bruno Luong
am 20 Apr. 2024
I have a matrix A of size [56X32X10] and a matrix B of size [32X32X10]. How to multiply these two matrices such that the resultant matrix will be of size [56X32X10].
I used C=A.*B.
However its showing error "Arrays have incompatible sizes for this operation."
0 Kommentare
Akzeptierte Antwort
Bruno Luong
am 20 Apr. 2024
A = rand(56,32,10);
B = rand(32,32,10);
C = pagemtimes(A,B);
size(C)
0 Kommentare
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!