Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Matrix Multiplication from Seperation?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi i'm trying to multiply a 3x27 matrix with a 3x9 matrix. These dimensions dont agree so the intent is it to split the 3x27 matrix in to 9 equal 3x3 matrices and split the 3x9 matrix into 9 equal 3x1 matrices.
I.e regardless of matrix size, the 3x(27 or any integer divisible by three) matrix splits into an equal number of 3x3 matrices and the 3x(9 or any integer divisible by three) is split into equal numer of 3x1 matrices.
e.g.
A = randi(10,3,27)
B = randi(10,3,9)
E.g. matrix mulitplicaiton is [8 10 1;10 9 1;8 8 10]*[4;8;5]
Any help would be much appreciated!
0 commentaires
Réponses (0)
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!