ntimes

Multiplies arrays of 2D matrices in an efficient manner.
539 téléchargements
Mise à jour 9 sept. 2013

Afficher la licence

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.

Citation pour cette source

Michael Stachowsky (2024). ntimes (https://www.mathworks.com/matlabcentral/fileexchange/25346-ntimes), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2007b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.1.0.0

Changed the file name so that it conforms to MATLAB standards.

1.0.0.0