dot multipy unequal matrix size. Possible?

8 vues (au cours des 30 derniers jours)
fadams18
fadams18 le 8 Mar 2019
hello,
I have 2 matrices
X=20 by 10000
Q= 10000 by 10000
Is it possible to make a Q.*X ?

Réponse acceptée

KALYAN ACHARJYA
KALYAN ACHARJYA le 8 Mar 2019
Modifié(e) : KALYAN ACHARJYA le 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 commentaire
fadams18
fadams18 le 8 Mar 2019
yea, i knew but i was just hoping maybe there is a way to trick multiply hehe. anyway thanks

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by