Vectorized 2-dimensional multiplication of multidimensional matrices

This submission uses a vectorized matrix multiplication to multiply n-dimensional matrices
45 Downloads
Aktualisiert 11. Okt 2015

Lizenz anzeigen

If you dont want to use slow for loops to apply a matrix multiplication between two n-dimensional matices, this submission could be helpful. Unfortunately, singelton expansion is not supported. Thus it is required that boths inputs are the same size.
Input 1: n-by-m-by-... Matrix
Input 2: m-by-p-by-... Matrix.

Output: n-by-p-by-... Matrix.

Zitieren als

Vincent Wilms (2026). Vectorized 2-dimensional multiplication of multidimensional matrices (https://de.mathworks.com/matlabcentral/fileexchange/53459-vectorized-2-dimensional-multiplication-of-multidimensional-matrices), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2013a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Linear Algebra finden Sie in Help Center und MATLAB Answers
Version Veröffentlicht Versionshinweise
1.0.0.0