How do I multiply each column of a matrix by the corresponding element of a vector in MATLAB?
If I have a large M by N matrix and a vector of length N, how do I easily and quickly multiply each column of the matrix by the corresponding element of the vector?
Best Answer