Multiplication between 2 matrix
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Danilo Teran
le 6 Nov 2017
Modifié(e) : Danilo Teran
le 6 Nov 2017
Hi, I need to multiply one matrix, which only number has A = [1 0; 2 3] with a matrix(array) with variables, which are not define yet, but they are numbers, which are not yet defined B = [a b; c d]
I need to get one general solution in order to change a,b,c,d values
Thanks in advance
0 commentaires
Réponse acceptée
Mischa Kim
le 6 Nov 2017
Modifié(e) : Mischa Kim
le 6 Nov 2017
Danilo, use the Symbolic Math Toolbox
syms B C a b c d
A = [1 0; 2 3];
B = [a b; c d];
C = A*B
C =
[ a, b]
[ 2*a + 3*c, 2*b + 3*d]
1 commentaire
Plus de réponses (1)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!