Multiplying a Matrix with every column of another matrix

10 visualizaciones (últimos 30 días)
Iman Askari
Iman Askari el 18 de Feb. de 2021
Comentada: Iman Askari el 18 de Feb. de 2021
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.

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Operating on Diagonal Matrices en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by