MATLAB Answers

dot multipy unequal matrix size. Possible?

조회 수: 39(최근 30일)
hello,
I have 2 matrices
X=20 by 10000
Q= 10000 by 10000
Is it possible to make a Q.*X ?

  댓글 수: 0

로그인 to comment.

채택된 답변

KALYAN ACHARJYA
KALYAN ACHARJYA 8 Mar 2019
편집: KALYAN ACHARJYA 8 Mar 2019
Basic Maths:Just for matrix multiplication, you can
The number of columns in the first matrix must be equal to the number of rows in the second matrix.
But for dot multiplication, how can you do that?
Suppose m1(1,1)*m2(1,1)..so on
Not have sufficient elements to pair each other. For dot operation both must have same sizes.
So the answer is No.

  댓글 수: 1

fadams18
fadams18 8 Mar 2019
yea, i knew but i was just hoping maybe there is a way to trick multiply hehe. anyway thanks

로그인 to comment.

추가 답변(0개)

이 질문에 답변하려면 로그인을(를) 수행하십시오.


Translated by