dot multipy unequal matrix size. Possible?
3 次查看(过去 30 天)
显示 更早的评论
hello,
I have 2 matrices
X=20 by 10000
Q= 10000 by 10000
Is it possible to make a Q.*X ?
0 个评论
采纳的回答
KALYAN ACHARJYA
2019-3-8
编辑:KALYAN ACHARJYA
2019-3-8
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!