Multiplication between 2 matrix
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Danilo Teran
am 6 Nov. 2017
Bearbeitet: Danilo Teran
am 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 Kommentare
Akzeptierte Antwort
Mischa Kim
am 6 Nov. 2017
Bearbeitet: Mischa Kim
am 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 Kommentar
Weitere Antworten (1)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!