Intended use is for a large array of small matrices that need to be multiplied together. For example, having 1000 4x3 matrices and 1000 3x7 matrices you may want to create the resulting 1000 4x7 matrices from multiplying them. The 'brute force' method for this is to create a for loop from 1 to 1000 and multiply each one individually. With this function, instead, the for loop is over the dimensions of the matrices. I.E. in this case a nested for loop of 1 to 4 and of 1 to 7, totaling 28 iterations instead of 1000.
引用格式
ja (2024). ndmult(B,C,d) (https://www.mathworks.com/matlabcentral/fileexchange/63826-ndmult-b-c-d), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- MATLAB > Mathematics > Linear Algebra >
标签
致谢
启发作品: ndinv(B,d)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |