I have two matrices A and B, A is 4000×1 and B is 4000*5662. How do multiply each row in A (only 1 column) to corresponding row in B (for all 5662 columns). I have tried several ways, but not getting the correct answers or receiving error message "Error using * Inner matrix dimensions must agree".
MATLAB: Multiply mx1 matrix to mxn matrix
multiply corresponding row in two matricesmultiply matrices
Related Question
- Multiplying a Matrix with every column of another matrix
- Combine the rows of an mxn cell array into a single mx1 cell array.
- Repeat values in a matrix
- How to store pixels of MxN bitmap image into MxN array
- Find index for mx1 cell with specific string
- How to multiply each row of a matrix with every row of another matrix elementwise
Best Answer