how to do 1 to 1 matrix multiplication?

조회 수: 2 (최근 30일)
Shubham Mohan Tatpalliwar
Shubham Mohan Tatpalliwar 2018년 11월 26일
편집: madhan ravi 2018년 11월 26일
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
Matt J
Matt J 2018년 11월 26일
But where do the 6 and the 12 come from?
madhan ravi
madhan ravi 2018년 11월 26일
The OP wants to fliplr the second column of A and to multiply it with B to get C.

댓글을 달려면 로그인하십시오.

채택된 답변

madhan ravi
madhan ravi 2018년 11월 26일
편집: madhan ravi 2018년 11월 26일
C=A.*B %what‘s wrong with this then?

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by