Vectorized 2-dimensional multiplication of multidimensional matrices

版本 1.0.0.0 (1.3 KB) 作者: Vincent Wilms
This submission uses a vectorized matrix multiplication to multiply n-dimensional matrices
45.0 次下载
更新时间 2015/10/11

查看许可证

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.

引用格式

Vincent Wilms (2024). Vectorized 2-dimensional multiplication of multidimensional matrices (https://www.mathworks.com/matlabcentral/fileexchange/53459-vectorized-2-dimensional-multiplication-of-multidimensional-matrices), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2013a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Linear Algebra 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0