ntimes
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.
Citar como
Michael Stachowsky (2025). ntimes (https://la.mathworks.com/matlabcentral/fileexchange/25346-ntimes), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
