Multiplying a Matrix with every column of another matrix

6 次查看(过去 30 天)
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.

采纳的回答

the cyclist
the cyclist 2021-2-18
Do you mean you just want to do standard matrix multipication?
C = A * B
Or did I misunderstand?

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Operating on Diagonal Matrices 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by