How to do 3D matrix multiplication
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
ANUSAYA SWAIN
le 20 Avr 2024
Réponse apportée : Bruno Luong
le 20 Avr 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 commentaires
Réponse acceptée
Bruno Luong
le 20 Avr 2024
A = rand(56,32,10);
B = rand(32,32,10);
C = pagemtimes(A,B);
size(C)
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Matrices and Arrays dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!