Multiplication between 2 matrix
1 view (last 30 days)
Show older comments
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 Comments
Accepted Answer
Mischa Kim
on 6 Nov 2017
Edited: Mischa Kim
on 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]
More Answers (1)
See Also
Categories
Find more on Numbers and Precision in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!