ntimes
版本 1.1.0.0 (1.5 KB) 作者:
Michael Stachowsky
Multiplies arrays of 2D matrices in an efficient manner.
Given 2 3D arrays, A and B, where A(:,:,i) and B(:,:,i) are i 2D matrices, multiply A(:,:,i)*B(:,:,i) without the use of a for loop.
More an experiment in coding than a practically useful piece of code, the goal was to derive an efficient method for multiplying many matrices together without the use of computationally expensive for loops.
Some applications include optical flow algorithms and image processing.
Created by a colleague, Ampere Kui.
引用格式
Michael Stachowsky (2024). ntimes (https://www.mathworks.com/matlabcentral/fileexchange/25346-ntimes), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2007b
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Creating and Concatenating Matrices 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!