Multiplication between 2 matrix
    조회 수: 10 (최근 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개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


