Multiplying matrices of different sizes
Afficher commentaires plus anciens
Is there a compact way to multiply matrices of different sizes?
I would like to multiply the elements of a 4D 10x29x34x28 matrix by the elements in a 10x1 matrix (i.e. the multiplier only differs over the first dimension).
At the moment I have just constructed a 4D matrix out of the 10x1 matrix, but that's a little slow. I am hoping that there is a more graceful solution.
1 commentaire
Image Analyst
le 1 Juin 2015
That's only 276080 elements - it should be faster than a greased cheetah on steroids. How long is it taking? What is your current method?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!