Multiplication between 2 matrix
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Mischa Kim
2017-11-6
编辑:Mischa Kim
2017-11-6
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 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Numbers and Precision 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!