Vectorized Multi-Dimensional Matrix Multiplication

Take Any N-D Matrix and Multiply it by another N-D Matrix Without a For-Loop

Download
Download

You are now following this Submission

Cite As

Darin Koblick (2026). Vectorized Multi-Dimensional Matrix Multiplication (https://in.mathworks.com/matlabcentral/fileexchange/47092-vectorized-multi-dimensional-matrix-multiplication), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Loops and Conditional Statements in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0

Corrected bug which would not allow for transposing matricies when rowDim and colDim were swapped. This version was also regression tested.

Download
1.1.0

Updated last step on re-assembling the N-D matrix to ensure singleton dimension was preserved when set to one.

Download
1.0.0

Download