how to multiply three matrices that results in a single value.
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (2)
Asim Riaz
le 11 Sep 2020
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 commentaires
Voir également
Catégories
En savoir plus sur Multidimensional Arrays 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!