Suppose we have a matrix A with dimension a*n and another matrix B with dimensions n*b. I would like to multiply matrix A with every column in B to obtain a matrix C of dimension a*b, without using a for loop.
MATLAB: Multiplying a Matrix with every column of another matrix
matrix multiplicationvectorization
Related Question
- How to multiply each row of a matrix with every row of another matrix elementwise
- Elemental matrix multiplication [NxN] and [1xn] into [NxNxn]
- Multiplying a matrix
- How to make a three dimensional matrix into a two dimensional matrix
- Matrix Multiplication (multiply every row of a matrix to different values)
Best Answer