how to multiply three matrices that results in a single value.
5 ビュー (過去 30 日間)
古いコメントを表示
I am having three matrices:
A=[1 2 3];
B=[4 5 6];
C=[7 8 9];
I need to multiply all the three matrices such that the result should be single value .
Note : Inverse of the matrices can also be used.
0 件のコメント
回答 (2 件)
Asim Riaz
2020 年 9 月 11 日
But to multiply a matrix by another matrix we need to do the "dot product" of rows and columns ... what does that mean? Let us see with an example: To work out the answer for the 1st row and 1st column: Want to see another example? Here it is for the 1st row and 2nd column: (1, 2, 3) • (8, 10, 12) = 1×8 + 2×10 + 3×12 = 64 We can do the same thing for the 2nd row and 1st column: (4, 5, 6) • (7, 9, 11) = 4×7 + 5×9 + 6×11 = 139 And for the 2nd row and 2nd column: (4, 5, 6) • (8, 10, 12) = 4×8 + 5×10 + 6×12 = 154
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Multidimensional Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!