pagemtimes
Page-wise matrix multiplication.
📝Syntax
C = pagemtimes(A, B)
C = pagemtimes(A, transpA, B, transpB)
📥Input Arguments
Parameter Description
A array whose pages are matrices.
B array whose pages are matrices.
transpA transform applied to the pages of A: 'none', 'transpose' or 'ctranspose'.
transpB transform applied to the pages of B: 'none', 'transpose' or 'ctranspose'.
📤Output Arguments
Parameter Description
C array whose pages are the matrix products of the pages of A and B.
📄Description

pagemtimes multiplies the pages (the first two dimensions) of the N-D arrays A and B. C(:,:,i) = A(:,:,i) * B(:,:,i). The optional transform arguments transpose or conjugate-transpose each page before multiplying. If one input has a single page it is broadcast against the pages of the other.

💡Examples
A = reshape(1:24, 2, 3, 4);
B = reshape(1:24, 3, 2, 4);
C = pagemtimes(A, B)
🔗See Also
pagetransposepageinvmtimes
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub