I have two matrices A and B with size k x m and l x m, respectively. I want to multiply each row of matrix A with each row of matrix B elementwise to get a tensor of size k x l x m.
MATLAB: How to multiply each row of a matrix with every row of another matrix elementwise
elementwisematrixmultiplicationtensor
Related Question
- DOT type element wise multiplication of two 2-D matrices with array expansion (3-D)
- Elementwise comparison
- How to multiply the columns of one matrix by another matrix most efficiently
- Define a matrix elementwise
- Is there a way to run an entire string of operations elementwise
- Fast Elementwise Matrix-Multiplications
Best Answer