how to do 1 to 1 matrix multiplication?

2 visualizaciones (últimos 30 días)
Shubham Mohan Tatpalliwar
Shubham Mohan Tatpalliwar el 26 de Nov. de 2018
Editada: madhan ravi el 26 de Nov. de 2018
i want to do a multiplication between 2 matrix but the Resultant matrix should be as in example
A=[1 2; 3 4]
B=[1 4 ; 2 3]
C=[1 8 ; 6 12]
if we do A.*B
I want it as C
like 1*1=1
2*4=8...
  2 comentarios
Matt J
Matt J el 26 de Nov. de 2018
But where do the 6 and the 12 come from?
madhan ravi
madhan ravi el 26 de Nov. de 2018
The OP wants to fliplr the second column of A and to multiply it with B to get C.

Iniciar sesión para comentar.

Respuesta aceptada

madhan ravi
madhan ravi el 26 de Nov. de 2018
Editada: madhan ravi el 26 de Nov. de 2018
C=A.*B %what‘s wrong with this then?

Más respuestas (0)

Categorías

Más información sobre Matrices and Arrays 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