How to multiply two matrices where A= 1415×6 and B=6×128
2 次查看(过去 30 天)
显示 更早的评论
Matrices A=1415×6 and B=6×128
7 个评论
John D'Errico
2022-2-9
Then A*B is EXACTLY what you do. Why do you think that is not what you get?
A = rand(1415,6);B = rand(6,128);
C = A*B;
size(C)
Maybe you need to do as @Cris LaPierre suggests, and review what a matrix multiplication means, and then consider what the * operator does?
help mtimes
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!