3D Matrix Multiplication
Ältere Kommentare anzeigen
Hi I have created two large matrices of which I have reshaped to create the following:
A = 3x1x4 double
B = 3x3x4 double
C = B * A ????
I was wondering how I could multiply each 3x3 matrix from B with each 3x1 matrix from A? The aim is to create a new 3x1x4 matrix in the end. Note: I don't have R2020b so don't have access to the pagemtimes function.
Any help is greatly appreciated, thanks!
1 Kommentar
Masoud Aminzadeh
am 6 Aug. 2023
use pagewise function
Akzeptierte Antwort
Weitere Antworten (1)
Walter Roberson
am 24 Feb. 2021
1 Stimme
1 Kommentar
James Tursa
am 24 Feb. 2021
Also for R2020b and later
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!